Skip Menu |

This queue is for tickets about the FCGI-ProcManager CPAN distribution.

Report information
The Basics
Id: 105383
Status: new
Priority: 0/
Queue: FCGI-ProcManager

People
Owner: Nobody in particular
Requestors: mount_gnome [...] rambler.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: "bind/listen: Address already in use" error when n_processes > 1
Date: Fri, 19 Jun 2015 20:59:02 +0300
To: bug-FCGI-ProcManager [...] rt.cpan.org
From: Виталий Тычкин <mount_gnome [...] rambler.ru>
Hello. I faced with issue which actual in debian 8.1 (debian 7.8 works fine). When i set up n_processes > 1 and starting the script like: my $proc_manager = new FCGI::ProcManager({ n_processes => 10); $proc_manager->pm_write_pid_file($PIDFILENAME); $proc_manager->pm_manage(); while(my $cgi = CGI::Fast->new()){ $proc_manager->pm_pre_dispatch(); ... $proc_manager->pm_post_dispatch(); } i will have the errors: FastCGI: server (pid 1485): initialized bind/listen: Address already in use FastCGI: manager (pid 25031): server (pid 1481) exited with status 25088 FastCGI: manager (pid 25031): server (pid 1490) started FastCGI: server (pid 1487): initialized bind/listen: Address already in use FastCGI: manager (pid 25031): server (pid 1482) exited with status 25088 FastCGI: manager (pid 25031): server (pid 1491) started FastCGI: server (pid 1488): initialized bind/listen: Address already in use FastCGI: server (pid 1489): initialized FastCGI: manager (pid 25031): server (pid 1483) exited with status 25088 FastCGI: manager (pid 25031): server (pid 1492) started bind/listen: Address already in use And i see that FastCgi server has only one working process and other process are trying to start and then restart indefinitely with this error. I have current versions of packages: #apt-cache policy libcgi-fast-perl libfcgi-perl libfcgi-procmanager-perl perl libcgi-fast-perl: Installed: 1:2.04-1 Candidate: 1:2.04-1 Version table: *** 1:2.04-1 0 500 http://ftp.debian.org/debian/ jessie/main amd64 Packages 100 /var/lib/dpkg/status libfcgi-perl: Installed: 0.77-1+b1 Candidate: 0.77-1+b1 Version table: *** 0.77-1+b1 0 500 http://ftp.debian.org/debian/ jessie/main amd64 Packages 100 /var/lib/dpkg/status libfcgi-procmanager-perl: Installed: 0.24-1 Candidate: 0.24-1 Version table: *** 0.24-1 0 500 http://ftp.debian.org/debian/ jessie/main amd64 Packages 100 /var/lib/dpkg/status perl: Installed: 5.20.2-3+deb8u1 Candidate: 5.20.2-3+deb8u1 Version table: *** 5.20.2-3+deb8u1 0 500 http://ftp.debian.org/debian/ jessie/main amd64 Packages 100 /var/lib/dpkg/status Could you please help to fix this bug? Thank you