Re: www/lighttpd 1.4.45 broken mod_fastcgi for PHP

2017-03-02 Thread Piotr Kubaj via freebsd-ports
Could you send me a truss(1) output of the relevant process?

On 17-03-01 11:36:02, Miroslav Lachman wrote:
> Piotr Kubaj wrote on 2017/03/01 11:13:
> > If FPM works fine, it looks to me more like PHP error than Lighttpd's. 
> > Could you use truss(1) on Lighttpd's process to obtain more information?
> 
> Can it be related to this fix:
> 
> [mod_fastcgi] detect child exit, restart proactively
> https://www.lighttpd.net/2017/1/14/1.4.45/
> 
> Because it seems like Lighttpd is trying to find / kill child, 
> complaints that there is not this PID anymore but it is still here and 
> PHP is running.
> 
> Miroslav Lachman
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 

-- 
  
/ The founding fathers tried to set up a \
| judicial system where the accused  |
| received a fair trial, not a system to |
\ insure an acquittal on technicalities. /
  
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||


signature.asc
Description: PGP signature


RE: www/lighttpd 1.4.45 broken mod_fastcgi for PHP

2017-03-01 Thread Radek Krejča
Hi,

> 
> Piotr Kubaj wrote on 2017/03/01 11:13:
> > If FPM works fine, it looks to me more like PHP error than
> Lighttpd's. Could you use truss(1) on Lighttpd's process to obtain more
> information?
> 
> Can it be related to this fix:
> 
> [mod_fastcgi] detect child exit, restart proactively
> https://www.lighttpd.net/2017/1/14/1.4.45/
> 
> Because it seems like Lighttpd is trying to find / kill child,
> complaints that there is not this PID anymore but it is still here and
> PHP is running.

[Radek Krejca] Lighttpd looks really broken in this version, I have problems 
too:

Feb 28 07:10:35 cutter kernel: pid 568 (lighttpd), uid 80: exited on signal 11
Feb 28 10:03:34 cutter kernel: pid 31145 (lighttpd), uid 80: exited on signal 11
Feb 28 10:23:22 cutter kernel: pid 42116 (lighttpd), uid 80: exited on signal 11
Feb 28 10:55:12 cutter kernel: pid 43447 (lighttpd), uid 80: exited on signal 11
Feb 28 14:43:32 cutter kernel: pid 45541 (lighttpd), uid 80: exited on signal 11

I have made script for clean php processess and start lighttpd again, because 
of it is very important server for me.

Radek
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: www/lighttpd 1.4.45 broken mod_fastcgi for PHP

2017-03-01 Thread Miroslav Lachman

Piotr Kubaj wrote on 2017/03/01 11:13:

If FPM works fine, it looks to me more like PHP error than Lighttpd's. Could 
you use truss(1) on Lighttpd's process to obtain more information?


Can it be related to this fix:

[mod_fastcgi] detect child exit, restart proactively
https://www.lighttpd.net/2017/1/14/1.4.45/

Because it seems like Lighttpd is trying to find / kill child, 
complaints that there is not this PID anymore but it is still here and 
PHP is running.


Miroslav Lachman
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: www/lighttpd 1.4.45 broken mod_fastcgi for PHP

2017-03-01 Thread Piotr Kubaj via freebsd-ports
If FPM works fine, it looks to me more like PHP error than Lighttpd's. Could 
you use truss(1) on Lighttpd's process to obtain more information?

On 17-03-01 10:56:29, Miroslav Lachman wrote:
> Piotr Kubaj wrote on 2017/03/01 08:59:
> > Hi,
> >
> > I use Lighttpd 1.4.45_1 on 11.0-RELEASE with mod_fastcgi and php-cgi. There 
> > are no problems with this setup. Are you sure php-cgi processes are running 
> > are the socket file is present?
> 
> Yes, there ara php-cgi processes. The strange thing is PHP web site is 
> runing  - phpinfo() works. But there are too many errors in the log -
> 33548 in about 40 minutes.
> 
> This is production machine so I must solved it fast and converted to 
> php-fpm which works fine.
> 
> If you want some more info, let me know what and I'll try to run this at 
> night again.
> 
> Miroslav Lachman
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 

-- 
  
/ We can embody the truth, but we cannot \
| know it.   |
||
\ -- Yates   /
  
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||


signature.asc
Description: PGP signature


Re: www/lighttpd 1.4.45 broken mod_fastcgi for PHP

2017-03-01 Thread Miroslav Lachman

Piotr Kubaj wrote on 2017/03/01 08:59:

Hi,

I use Lighttpd 1.4.45_1 on 11.0-RELEASE with mod_fastcgi and php-cgi. There are 
no problems with this setup. Are you sure php-cgi processes are running are the 
socket file is present?


Yes, there ara php-cgi processes. The strange thing is PHP web site is 
runing  - phpinfo() works. But there are too many errors in the log -

33548 in about 40 minutes.

This is production machine so I must solved it fast and converted to 
php-fpm which works fine.


If you want some more info, let me know what and I'll try to run this at 
night again.


Miroslav Lachman
___
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"


Re: www/lighttpd 1.4.45 broken mod_fastcgi for PHP

2017-03-01 Thread Piotr Kubaj via freebsd-ports
Hi,

I use Lighttpd 1.4.45_1 on 11.0-RELEASE with mod_fastcgi and php-cgi. There are 
no problems with this setup. Are you sure php-cgi processes are running are the 
socket file is present?

On 17-03-01 00:36:46, Miroslav Lachman wrote:
> Hi,
> I upgraded from 1.4.44 to 1.4.45_1 and after service restart I got tons 
> of following error in error.log:
> 
> 2017-03-01 00:32:56: (mod_fastcgi.c.3565) pid  59896 1 not found: No 
> child processes
> 
> I have this in lighttpd.conf and it was working for years
> 
> fastcgi.server = ( ".php" =>
> (( "socket" => "/tmp/php-fastcgi.socket",
>"bin-path" => "/usr/local/bin/php-cgi",
>"bin-environment" => (
>   "PHP_FCGI_CHILDREN" => "4",
>   "PHP_FCGI_MAX_REQUESTS" => "4000" ),
>"bin-copy-environment" => (
>   "PATH", "SHELL", "USER" ),
>"allow-x-send-file" => "enable"
> ))
> )
> 
> I don't know what the error means and how to solve it. I searched the 
> web but found nothing relating to this.
> 
> This is on FreeBSD 10.3 amd64 with freshly build packages in our 
> Poudriere (ports OpenSSL used as default)
> 
> Am I alone with this error?
> 
> Miroslav Lachman
> 
> -- 
> This message has been scanned for viruses and
> dangerous content by MailScanner, and is
> believed to be clean.
> 

-- 
 _ 
/ Women waste men's lives and think they  \
| have indemnified them by a few gracious |
| words.  |
| |
\ -- Honore de Balzac /
 - 
\   ^__^
 \  (oo)\___
(__)\   )\/\
||w |
|| ||


signature.asc
Description: PGP signature


Re: mod_fastcgi

2007-12-16 Thread Miroslav Lachman

Leo Vandewoestijne wrote:

Hello,

When I install the mod_fastcgi port, it starts to install Apache,
while I don't want it, as I've been using lighttpd, because I need
to handle over a billion requests per server per month.

So, can Apache be dropped as requirement in the mod_fastcgi port?


The port mod_fastcgi is Apache module - for apache only!
If you want to use FastCGI with Lighttpd, you do not need to install 
this module. Lighttpd has its own built-in module for FastCGI. So just 
install Lighttpd and edit lighttpd.conf.


Miroslav Lachman
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: mod_fastcgi

2007-12-16 Thread Pav Lucistnik
Leo Vandewoestijne píše v ne 16. 12. 2007 v 23:50 +0100:

 When I install the mod_fastcgi port, it starts to install Apache,
 while I don't want it, as I've been using lighttpd, because I need
 to handle over a billion requests per server per month.
 
 So, can Apache be dropped as requirement in the mod_fastcgi port?

mod_fastcgi is an Apache module - it does not make much sense to remove
Apache from it.

Are you sure you're not looking for something else here?

-- 
Pav Lucistnik [EMAIL PROTECTED]
  [EMAIL PROTECTED]
Sun couldn't care less about Linux other than it now being necessary in
order to be buzzword compliant. -- Al Dente


signature.asc
Description: Toto je digitálně	 podepsaná část	 zprávy


Re: mod_fastcgi

2007-12-16 Thread Leo Vandewoestijne
On Mon, 17 Dec 2007, Miroslav Lachman wrote:

 Leo Vandewoestijne wrote:
 Hello,
 
 When I install the mod_fastcgi port, it starts to install Apache,
 while I don't want it, as I've been using lighttpd, because I need
 to handle over a billion requests per server per month.
 
 So, can Apache be dropped as requirement in the mod_fastcgi port?
 
 The port mod_fastcgi is Apache module - for apache only!
 If you want to use FastCGI with Lighttpd, you do not need to install 
 this module. Lighttpd has its own built-in module for FastCGI. So just 
 install Lighttpd and edit lighttpd.conf.
 
 Miroslav Lachman

Dobry Den,

Sounds like I in deed appearntly once installed mod_fastcgi by mistake separely
long ago, and all that time I thought it was part of lighttpd.


-- 

Later,



Leo Vandewoestijne
unicycle.cz
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to [EMAIL PROTECTED]