ispCP - Board - Support
isp-control.net is laggy, - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Small Talk (/forum-20.html)
+--- Thread: isp-control.net is laggy, (/thread-906.html)

Pages: 1 2 3 4 5 6 7 8 9 10 11


RE: isp-control.net is laggy, - macbishop - 07-05-2007 01:52 AM

ephigenie Wrote:the server works almost ok
you have comment PHP_FCGI_CHILDREN in php5-fcgi-starter ?
--
querer es poder


RE: isp-control.net is laggy, - BeNe - 07-05-2007 02:13 AM

ephigenie Wrote:yeah on the way trying to switch the trac to fastcgi.

but fcgid is not supported officially Sad
and i made a lot of modifications to the trac in general - so - sry for the downtime but now the server works almost ok Smile

But Trac is still down ?! Rolleyes


RE: isp-control.net is laggy, - macbishop - 07-05-2007 02:37 AM

BeNe Wrote:But Trac is still down ?! Rolleyes
Yeah, Ephi is going to configure Python with fastCGI to trac instead fcgid (your alternative) that will take a time to him but surely that will not be much Smile
while patience Wink
--
querer es poder


RE: isp-control.net is laggy, - BeNe - 07-05-2007 02:50 AM

No Problem!
I was just confused, ephigenie said that the server works almost ok,
but trac is down....

I can wait Smile


RE: isp-control.net is laggy, - macbishop - 07-05-2007 03:09 AM

BeNe Wrote:I was just confused, ephigenie said that the server works almost ok,
Yeah, because this server have more of one problem.
The problem with fastCGI/php apparently is solved and this result that the forums runs now without error, this problem is common with ispcps installations that produce 500 errors and it must fixed surely for Raphael.
The second problem is fcgid/python actually supported for trac and ist'n still solved.
--
querer es poder


RE: isp-control.net is laggy, - macbishop - 07-05-2007 04:47 AM

ephigenie Wrote:Anyone of the fcgid gurus got an idea why its not killing idle php's ?
And just btw. documentation for fcgid - extra parameters is not existent Sad
^^mod_fastcgi was better documented Tongue

Code:
<IfModule mod_fcgid.c>
SocketPath /var/lib/apache2/fcgid/sock
IPCConnectTimeout 20
BusyTimeout       300
IPCCommTimeout          120
DefaultMinClassProcessCount 1
ProcessLifeTime   300
AddHandler php-fastcgi .php

<Location /php/php.fcgi>
         SetHandler fcgid-script
         Options +ExecCGI
</Location>


...

</IfModule>

This have a error
Code:
AddHandler php-fastcgi .php
instead
Code:
AddHandler fcgid-script .php
http://fastcgi.coremail.cn/configuration.htm#PHP Tongue


RE: isp-control.net is laggy, - NetVista - 07-05-2007 06:16 AM

most recent error

Code:
Oops...

Trac detected an internal error:

(22, 'Invalid argument')

Traceback (most recent call last):
  File "trac.fcgi", line 20, in ?
    fcgi_frontend.run()
  File "/usr/lib/python2.4/site-packages/trac/web/fcgi_frontend.py", line 22, in run
    _fcgi.WSGIServer(dispatch_request).run()
  File "/usr/lib/python2.4/site-packages/trac/web/_fcgi.py", line 1077, in run
    clientSock, addr = sock.accept()
error: (22, 'Invalid argument')



RE: isp-control.net is laggy, - ephigenie - 07-05-2007 10:13 AM

should work now finally.

It took a moment longer because i tried to migrate to mysql - but failed :~
trac doesn't really seems to be ready for this.

and migrating from sqlite3 to mysql syntax is not that funny without working converter scripts Wink


RE: isp-control.net is laggy, - ephigenie - 07-05-2007 07:09 PM

anyone errors ? or is it ok now ?

and : yeah i know late night - when the server is busy making backups etc a 500 may occur sometimes. Sad

But it should be more stable now in general - and the load is ok now most of the time, too. (I still have to run killall -9 php[4-5]-cgi */30 - but thats related to php afaik)

I'm just wondering how mod_fastcgi handles php - childs (and kills them ?)


RE: isp-control.net is laggy, - Zothos - 07-05-2007 07:35 PM

had a error just 2 seconds ago. When trying to get into the german forum.