[freeside-users] No 'progress' being made when adding a new service definition?

Charles Sprickman spork at bway.net
Fri Sep 26 14:24:29 PDT 2008


On Fri, 26 Sep 2008, Jason Hall wrote:

> OOMKiller?
>
> Yeah, you need to do some Apache tuning to your hardware, based on
> your usage levels.  But that sounds like you have very little memory,
> hope you aren't doing a lot on the box.

It's a devel copy of our actual production box.  I just test big changes 
and stuff like that over there, no biggie.

Charles

> On Fri, Sep 26, 2008 at 12:52 PM, Charles Sprickman <spork at bway.net> wrote:
>> On Fri, 26 Sep 2008, Jan Mulders wrote:
>>
>>> Just gave it a shot, and freeside-queued works fine in foreground when
>>> su'ing as user 'freeside'.
>>> Maybe a daemonisation problem?
>>
>> No idea, but you guys all just fixed the box I use for testing.  Had the
>> same symptoms.  Apparently the box has so little RAM and mod_perl+apache
>> are so damn huge that the kernel started killing stuff off, including
>> freeside-queued.
>>
>> So thanks!
>>
>> Another note, what I saw on this box besides the hang described is that
>> all my apache processes chew up cpu and grow in size until all RAM and
>> swap are exhausted, FWIW.
>>
>> Charles
>>
>>> Jan
>>>
>>> 2008/9/26 Gerald V Livingston II <gerald.freeside at sysmatrix.net>
>>>
>>>> How about foregrounding as user 'freeside'?
>>>>
>>>> It's not supposed to be running as root.
>>>>
>>>> bling:~# ps aux | grep free
>>>>
>>>> freeside  1340  0.0  0.5 25452 5064 ?        Ss   Sep16   0:00
>>>> /usr/bin/perl -w /usr/local/bin/freeside-queued fs_queue
>>>> postgres  1347  0.0  1.0 18176 9424 ?        S    Sep16   0:00 postgres:
>>>> freeside freeside [local] idle
>>>> freeside 10329  0.0  4.8 82532 44088 ?       S    Sep21   3:36
>>>> /usr/sbin/apache-ssl
>>>> freeside 10330  0.0  4.8 81320 44172 ?       S    Sep21   3:33
>>>> /usr/sbin/apache-ssl
>>>>
>>>> Gerald
>>>>
>>>> Jan Mulders wrote:
>>>>> Done a little digging, and implemented the 'foreground' patch for
>>>>> freeside-queued described
>>>>> here:
>>>> http://www.freeside.biz/pipermail/freeside-devel/2005-June/000499.html
>>>>>
>>>>> Getting the following output:
>>>>>
>>>>> Use of uninitialized value in pattern match (m//) at
>>>>> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line
>>>> 707.
>>>>> Use of uninitialized value in pattern match (m//) at
>>>>> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line
>>>> 703.
>>>>> Use of uninitialized value in pattern match (m//) at
>>>>> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line
>>>> 707.
>>>>> Use of uninitialized value in pattern match (m//) at
>>>>> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line
>>>> 703.
>>>>> Use of uninitialized value in pattern match (m//) at
>>>>> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line
>>>> 707.
>>>>> Use of uninitialized value in pattern match (m//) at
>>>>> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line
>>>> 703.
>>>>> Use of uninitialized value in pattern match (m//) at
>>>>> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line
>>>> 707.
>>>>> Use of uninitialized value in pattern match (m//) at
>>>>> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line
>>>> 703.
>>>>> Use of uninitialized value in pattern match (m//) at
>>>>> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line
>>>> 707.
>>>>> Use of uninitialized value in pattern match (m//) at
>>>>> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line
>>>> 703.
>>>>> Use of uninitialized value in pattern match (m//) at
>>>>> /usr/lib/perl5/site_perl/5.8.8/FS/part_svc.pm <http://part_svc.pm> line
>>>> 707.
>>>>>
>>>>> ....though the good news is that it now works! I can add service defs to
>>>>> my heart's content.
>>>>>
>>>>> Any bright ideas on why freeside-queued isn't working on its own?
>>>>> Running it via service freeside start doesn't work, but foregrounding it
>>>>> as root does...
>>>>>
>>>>> I think I'll limp through till I'm nearer pushing this to production. I
>>>>> can at least work on the signup interface now...
>>>>>
>>>>> Thanks all.
>>>>>
>>>>> Jan
>>>>>
>>>>>
>>>>> 2008/9/26 Jan Mulders <jan at baneki.com <mailto:jan at baneki.com>>
>>>>>
>>>>>     More oddness:
>>>>>
>>>>>     -bash-3.00# ps aux
>>>>>     USER       PID %CPU %MEM   VSZ  RSS TTY      STAT START   TIME
>>>> COMMAND
>>>>>     root         1  0.0  0.1  1712  540 ?        Ss   Sep19   0:00 init
>>>> [3]
>>>>>     .......
>>>>>     root      1535  0.0  0.2  4132 1156 ?        Ss   Sep19   0:00
>>>>>     /usr/sbin/sshd
>>>>>     postgres  6229  0.0  0.4 18904 2212 pts/1    S    Sep19   0:00
>>>>>     /usr/bin/postmaster -p 5432 -D /var/lib/pgsql/data
>>>>>     postgres  6230  0.0  0.1  9704  948 pts/1    S    Sep19   0:00
>>>>>     postgres: stats buffer process
>>>>>     postgres  6231  0.0  0.1  8712 1028 pts/1    S    Sep19   0:00
>>>>>     postgres: stats collector process
>>>>>     root      7416  0.0  0.2  4312 1352 pts/1    S+   Sep19   0:00 bash
>>>>>     root     14981  0.0  0.4  6976 2264 ?        Ss   03:11   0:00 sshd:
>>>>>     root at pts/0
>>>>>     root     14988  0.0  0.2  4312 1404 pts/0    Ss   03:11   0:00 -bash
>>>>>     root     15446  9.3 11.4 67124 59928 ?       Ss   03:17   0:04
>>>>>     /usr/sbin/httpd -d /etc/httpd-freeside
>>>>>     freeside 15449  0.0 10.7 67124 56556 ?       S    03:17   0:00
>>>>>     /usr/sbin/httpd -d /etc/httpd-freeside
>>>>>     freeside 15450  0.0 10.7 67124 56556 ?       S    03:17   0:00
>>>>>     /usr/sbin/httpd -d /etc/httpd-freeside
>>>>>     freeside 15451  0.0 10.7 67124 56556 ?       S    03:17   0:00
>>>>>     /usr/sbin/httpd -d /etc/httpd-freeside
>>>>>     freeside 15452  0.0 10.7 67124 56556 ?       S    03:17   0:00
>>>>>     /usr/sbin/httpd -d /etc/httpd-freeside
>>>>>     freeside 15453  0.0 10.7 67124 56556 ?       S    03:17   0:00
>>>>>     /usr/sbin/httpd -d /etc/httpd-freeside
>>>>>     freeside 15454  0.0 10.7 67124 56556 ?       S    03:17   0:00
>>>>>     /usr/sbin/httpd -d /etc/httpd-freeside
>>>>>     freeside 15455  0.0 10.7 67124 56556 ?       S    03:17   0:00
>>>>>     /usr/sbin/httpd -d /etc/httpd-freeside
>>>>>     freeside 15456  0.0 10.7 67124 56556 ?       S    03:17   0:00
>>>>>     /usr/sbin/httpd -d /etc/httpd-freeside
>>>>>     root     15481  0.0  0.1  2400  764 pts/0    R+   03:18   0:00 ps aux
>>>>>
>>>>>     freeside-queued is meant to run as a daemon, right?
>>>>>
>>>>>     Jan
>>>>>
>>>>>     2008/9/26 Jeremy Davis <lists at maximumtech.us
>>>>>     <mailto:lists at maximumtech.us>>
>>>>>
>>>>>        > "Server processing job... [a big grey progress bar] %
>>>>>         (progress of job
>>>>>        > #5)"
>>>>>
>>>>>         You need to run freeside-queued.
>>>>>
>>>>>         Sincerely,
>>>>>
>>>>>         Jeremy Davis, CEO
>>>>
>>>> _______________________________________________
>>>> freeside-users mailing list
>>>> freeside-users at sisd.com
>>>> http://420.am/cgi-bin/mailman/listinfo/freeside-users
>>>>
>>>
>> _______________________________________________
>> freeside-users mailing list
>> freeside-users at sisd.com
>> http://420.am/cgi-bin/mailman/listinfo/freeside-users
>>
>
>
>
> -- 
> Jayce^
>
> The Cloud is my Platform
> _______________________________________________
> freeside-users mailing list
> freeside-users at sisd.com
> http://420.am/cgi-bin/mailman/listinfo/freeside-users
>


More information about the freeside-users mailing list