ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Вопрос по перловому модулю..


  • To: Igor Sysoev <nginx-ru@xxxxxxxxx>
  • Subject: Вопрос по перловому модулю..
  • From: Igor Savchenko <dicsydel@xxxxxxxxx>
  • Date: Wed, 14 Nov 2007 12:11:22 +0200
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:date:from:x-mailer:reply-to:organization:x-priority:message-id:to:subject:mime-version:content-type:content-transfer-encoding; bh=LVNNGy8yJ0ZHVPrgzv4PD8+aOrMEUXDbodGWiCVSVfk=; b=e620Pmrbr/MPzV+IYwEUofQAkgps331Np7CZeqIMHEgTlKA82Vsvty7WzVOlLOzERTcb7u25cu7TNcnj2Jfj4lnM4r5EalROTHc4+Ls2WKKjwGu4tRWv+rnTmSJzzvfGdVDEu2XVNboFbhU2puU6MVis4/qT/hW1r8sGT8R8UJA=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:date:from:x-mailer:reply-to:organization:x-priority:message-id:to:subject:mime-version:content-type:content-transfer-encoding; b=JxrnkZ82VO9oTLZNT/frl9oKIY0uSYLQyycd3ChqKZhhtinvmSKLcRp8O0VXbuYFIcQ1RrcTHFWcL440iuvvheOkJCcsVGasCGBDJjBG9FeVzQoycEubqXP9yxrOl5hmpPhRoz/iG/WQZt2ghAeP9YMzEDpua3TYpJnejijzVos=
  • Organization: Webta

Hello Igor,

  Конфиг nginx - стандратный в нем на определенный локатион стоит:

  perl handler:Test;

  внутри перлового модуля:

package handler;
                                
use nginx;                      

sub Test
{
        local $r = shift;
        
        $r->send_http_header("plain/text");
                        
        $r->print(`echo 'Hello world!'`);
        return OK;      
}  

При запросе к этому локатиону несколько раз:

в еррор лог валится следующее:

2007/11/14 12:00:36 [notice] 23622#0: signal 17 (SIGCHLD) received
2007/11/14 12:00:36 [notice] 23622#0: unknown process 23633 exited with code 0
2007/11/14 12:00:38 [notice] 23622#0: signal 17 (SIGCHLD) received
2007/11/14 12:00:38 [alert] 23622#0: waitpid() failed (10: No child processes)
2007/11/14 12:00:40 [notice] 23622#0: signal 17 (SIGCHLD) received
2007/11/14 12:00:40 [alert] 23622#0: waitpid() failed (10: No child processes)
2007/11/14 12:00:41 [notice] 23622#0: signal 17 (SIGCHLD) received
2007/11/14 12:00:41 [alert] 23622#0: waitpid() failed (10: No child processes)
2007/11/14 12:00:42 [notice] 23622#0: signal 17 (SIGCHLD) received
2007/11/14 12:00:42 [notice] 23622#0: unknown process 23637 exited with code 0
2007/11/14 12:00:43 [notice] 23622#0: signal 17 (SIGCHLD) received
2007/11/14 12:00:43 [notice] 23622#0: unknown process 23638 exited with code 0

Ошибки чередуются без какой-либо закономерности...

При этом на странице как и ожидалось отображается: Hello world!

Это нормально?

---------------------------------
Igor V. Savchenko

http://webta.net

mailto: igor@xxxxxxxxx
ICQ: 86915046




 




Copyright © Lexa Software, 1996-2009.