Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-11 Thread Gabriel Barazer
On 03/11/2008 7:01:59 PM +0100, Tobias Wiersch <[EMAIL PROTECTED]> wrote: > first of all: I solved it. very glad to see it's working! > Debian is a "little" conservative with the upgrade of versions. > So Sarge is running the old 1.05 and Etch (latest Debian-release!) is > running the old 1.10.

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-11 Thread Tobias Wiersch
Hi Gabriel, first of all: I solved it. Gabriel Barazer schrieb: > > can you tell what is the mod_fcgid version on each server? If the > version is the same, you may be facing the same bug on each server, but > for some reason it's not triggered on Debian Sarge. > Debian is a "little" conserv

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Gabriel Barazer
On 03/10/2008 7:53:10 PM +0100, Tobias Wiersch <[EMAIL PROTECTED]> wrote: >> > Yes, the results were from 2 servers. > The Etch-server has the problem. I wrote the results from the sarge > server only to show the difference. can you tell what is the mod_fcgid version on each server? If the ve

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Tobias Wiersch
Hi Gabriel, Gabriel Barazer schrieb: > > I'm confused. Is it the same server, same kernel & other > hardware/software specs ? If you try 2 different debian distrubtion, > there may be some changes in PHP/libraries. > Yes, the results were from 2 servers. The Etch-server has the problem. I wro

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Gabriel Barazer
On 03/10/2008 3:19:16 PM +0100, Tobias Wiersch <[EMAIL PROTECTED]> wrote: > > Gabriel Barazer schrieb: >> 1) Is the delay *exactly* 2 seconds when calling a PHP script (before >> getting the http error 500 from your suexec test) ? Or is there another >> additionnal delay to look for ? >> > I

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Tobias Wiersch
Hi Gabriel, Gabriel Barazer schrieb: > > 1) Is the delay *exactly* 2 seconds when calling a PHP script (before > getting the http error 500 from your suexec test) ? Or is there another > additionnal delay to look for ? > I think it is a 1 second delay. I made a "time wget http://localhost/tes

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Gabriel Barazer
On 03/10/2008 1:38:36 PM +0100, Tobias Wiersch <[EMAIL PROTECTED]> wrote: > Hi Gabriel, > > Gabriel Barazer schrieb: >> I suppose this command is an init script and really does "apachectl -k >> graceful" ? Can you confirm this ? Since these init scripts are not part >> of the apache distribution

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Tobias Wiersch
Hi Gabriel, Gabriel Barazer schrieb: > > I suppose this command is an init script and really does "apachectl -k > graceful" ? Can you confirm this ? Since these init scripts are not part > of the apache distribution, we don't know *exactly* what they do and > there _is_ a big difference between

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Tobias Wiersch
Hi Thilo, Thilo Bangert schrieb: > okay - interesting. have you tried using strace to check what the > apache process is doing? Okay, here comes the strace of apache's PID. Maybe a problem with the POLLIN-routine? (thanks in advance for your help) 0.49 poll([{fd=15, events=POLLIN, re

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Gabriel Barazer
Hi On 03/10/2008 11:08:14 AM +0100, Tobias Wiersch <[EMAIL PROTECTED]> wrote: > Hello there! > > I'm using mod_fcgid on several servers since Debian Sarge. > On Debian Sarge all is running fine. > But ALL three Etch-servers (1 updated from sarge, 2 freshly installed) > have a delay-problem: > >

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Thilo Bangert
On Monday 10 March 2008 11:48:30 Tobias Wiersch wrote: > Hi Thilo, > > Thilo Bangert schrieb: > > try calling php from the commandline right before you reload apache... > > Thanks for the quick reply. > But I already tried that. > PHP is definitely in the cache. > # php5-cgi test.php > # /etc/init.

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Tobias Wiersch
Hi Thilo, Thilo Bangert schrieb: > try calling php from the commandline right before you reload apache... Thanks for the quick reply. But I already tried that. PHP is definitely in the cache. # php5-cgi test.php # /etc/init.d/apache2 reload Same delay. And I have a very big cache on the machine. S

Re: [Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Thilo Bangert
> To verify this, I patched suexec to exit immediatly at start. > When I then load a PHP-script with the patched suexec, the delay is > still there, and after that I receive the 500-Server error. > Furthermore, when I call php5-cgi from the command-line, there is > absolutely no delay. > the dela

[Mod-fcgid-users] Debian Etch: Strange delay upon first start of fcgi-application (PHP)

2008-03-10 Thread Tobias Wiersch
Hello there! I'm using mod_fcgid on several servers since Debian Sarge. On Debian Sarge all is running fine. But ALL three Etch-servers (1 updated from sarge, 2 freshly installed) have a delay-problem: When I do a "apache2 reload", all spawned PHP-fcgi-tasks will die, which is normal behaviour. B