Hello again,
I run these test with simple test.cgi and apache server respond fast. I check again Devel::NYRProf trying to understand: Why when I start my script: run.pl from console start immediately the job with serial port and when I start it from apache cgi-bin have a delay around 3 sec.
2 1 1 3.10s 3.10s IO::Socket::IP::CORE:sselect (opcode)
406 1 1 2.86s 2.86s Device::SerialPort::CORE:sselect (opcode)
199 3.11s line IO/Socket/IP.pm (including 1 string eval)
16104 2.89s line Device/SerialPort.pm
In reply to Re^2: Apache2 to perl slow start
by Acnapyx
in thread Apache2 to perl slow start
by Acnapyx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |