[freeside-users] Problem daemonizing perl scripts (freeside-selfservice-server, freeside-queued etc)
Jan Mulders
jan at baneki.com
Sat Sep 27 08:28:01 PDT 2008
Hey all.
I posted a message yesterday about freeside-queued not daemonising properly
(it only worked in 'foreground mode' using a patch) - and it seems the
problem is a little larger than initially surveyed.
None of the freeside daemons will run consistently; they all 'vanish' upon
daemonisation.
I was hoping someone could shed a little light on this, or at least point me
in the direction of where I'd start looking to find the problem. Could this
be a problem with my Perl installation?
[freeside at billing1 bin]$ freeside-selfservice-server myusername
mywebservername.com
freeside-selfservice-server started with pid 5044
[freeside at billing1 bin]$ ps aux
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.1 1708 660 ? Ss Sep26 0:00 init [3]
.......
freeside 3791 0.0 6.3 38580 33204 pts/1 S+ Sep26 0:00 /usr/bin/perl
-ws /usr/local/bin/freeside-queued -F fs_queue
postgres 3792 0.0 0.8 19676 4324 ? S Sep26 0:00 postgres:
freeside freeside [local] idle
root 4700 0.0 11.4 67380 60020 ? Ss Sep26 0:01
/usr/sbin/httpd -d /etc/httpd-freeside
freeside 4703 0.0 12.1 72156 63504 ? S Sep26 0:00
/usr/sbin/httpd -d /etc/httpd-freeside
freeside 4704 0.0 12.9 75900 68072 ? S Sep26 0:00
/usr/sbin/httpd -d /etc/httpd-freeside
freeside 4705 0.0 10.8 67512 57056 ? S Sep26 0:00
/usr/sbin/httpd -d /etc/httpd-freeside
freeside 4706 0.0 13.8 80440 72728 ? S Sep26 0:01
/usr/sbin/httpd -d /etc/httpd-freeside
freeside 4707 0.0 12.9 76104 67924 ? S Sep26 0:00
/usr/sbin/httpd -d /etc/httpd-freeside
freeside 4708 0.0 12.7 75344 66912 ? S Sep26 0:00
/usr/sbin/httpd -d /etc/httpd-freeside
freeside 4709 0.0 12.5 74448 66080 ? S Sep26 0:00
/usr/sbin/httpd -d /etc/httpd-freeside
freeside 4710 0.0 13.2 77952 69740 ? S Sep26 0:01
/usr/sbin/httpd -d /etc/httpd-freeside
postgres 4762 0.0 0.7 19736 4128 ? S Sep26 0:00 postgres:
freeside freeside [local] idle
postgres 4764 0.0 0.8 19684 4716 ? S Sep26 0:00 postgres:
freeside freeside [local] idle
postgres 4765 0.0 0.6 19676 3444 ? S Sep26 0:00 postgres:
freeside freeside [local] idle
postgres 4766 0.0 0.6 19676 3444 ? S Sep26 0:00 postgres:
freeside freeside [local] idle
postgres 4768 0.0 0.8 19684 4568 ? S Sep26 0:00 postgres:
freeside freeside [local] idle
postgres 4769 0.0 0.6 19684 3440 ? S Sep26 0:00 postgres:
freeside freeside [local] idle
postgres 4770 0.0 0.8 19684 4280 ? S Sep26 0:00 postgres:
freeside freeside [local] idle
postgres 4775 0.0 0.6 19664 3640 ? S Sep26 0:00 postgres:
freeside freeside [local] idle in transaction
postgres 4778 0.0 0.6 19684 3432 ? S Sep26 0:00 postgres:
freeside freeside [local] idle
postgres 4780 0.0 0.7 19668 3996 ? S Sep26 0:00 postgres:
freeside freeside [local] idle
postgres 4781 0.0 0.7 19668 4112 ? S Sep26 0:00 postgres:
freeside freeside [local] idle
postgres 4783 0.0 0.6 19668 3632 ? S Sep26 0:00 postgres:
freeside freeside [local] idle in transaction
postgres 4785 0.0 0.7 19668 4120 ? S Sep26 0:00 postgres:
freeside freeside [local] idle
root 4841 0.0 0.2 4456 1200 pts/0 S Sep26 0:00 su freeside
freeside 4842 0.0 0.2 4308 1416 pts/0 S Sep26 0:00 bash
freeside 5046 0.0 0.1 2392 788 pts/0 R+ 07:25 0:00 ps aux
...no pid 5044.
All suggestions/hints/hunches greatly appreciated :)
Thanks,
Jan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://420.am/pipermail/freeside-users/attachments/20080927/7f6b66d0/attachment-0001.htm
More information about the freeside-users
mailing list