Bug #65632 [Com]: php ( CLI ) - 5-6 seconds execution time.

From: Date: Fri, 08 Aug 2014 12:33:15 +0000
Subject: Bug #65632 [Com]: php ( CLI ) - 5-6 seconds execution time.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187022@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=65632&edit=1 ID: 65632 Comment by: ondrej at mirtes dot cz Reported by: saleh at va dot com dot sa Summary: php ( CLI ) - 5-6 seconds execution time. Status: Not a bug Type: Bug Package: *General Issues Operating System: CentOS X86_64 PHP Version: 5.5.3 Block user comment: N Private report: N New Comment: This has happened to me on Mac OS X too. It's caused by compiled-in IMAP extension. I don't consider this issue fixed. Previous Comments: ------------------------------------------------------------------------ [2013-09-12 03:28:02] laruence@php.net close ------------------------------------------------------------------------ [2013-09-08 18:35:28] saleh at va dot com dot sa problem FIXED by adding: MyIP MyHostname to: /etc/hosts now the cli is working as usual. ------------------------------------------------------------------------ [2013-09-08 18:32:15] saleh at va dot com dot sa why is it connecting to my DNS server ! 31769 20:37:22.164603 socket(PF_INET, SOCK_DGRAM|SOCK_NONBLOCK, IPPROTO_IP) = 3 <0.000030> 31769 20:37:22.164710 connect(3, {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("192.168.1.3")}, 16) = 0 <0.000030> 31769 20:37:22.164824 poll([{fd=3, events=POLLOUT}], 1, 0) = 1 ([{fd=3, revents=POLLOUT}]) <0.000026> 31769 20:37:22.164925 sendto(3, "wh\1\0\0\1\0\0\0\0\0\0\3lan\2va\3com\2sa\0\0\1\0\1", 31, MSG_NOSIGNAL, NULL, 0) = 31 <0.000037> 31769 20:37:22.165035 poll([{fd=3, events=POLLIN|POLLOUT}], 1, 5000) = 1 ([{fd=3, revents=POLLOUT}]) <0.000024> 31769 20:37:22.165132 sendto(3, "\314\33\1\0\0\1\0\0\0\0\0\0\3lan\2va\3com\2sa\0\0\34\0\1", 31, MSG_NOSIGNAL, NULL, 0) = 31 <0.000032> 31769 20:37:22.165247 poll([{fd=3, events=POLLIN}], 1, 4999) = 1 ([{fd=3, revents=POLLIN}]) <0.000659> 31769 20:37:22.165991 ioctl(3, FIONREAD, [47]) = 0 <0.000027> 31769 20:37:22.166092 recvfrom(3, "wh\201\0\0\1\0\1\0\0\0\0\3lan\2va\3com\2sa\0\0\1\0\1\300"..., 2048, 0, {sa_family=AF_INET, sin_port=htons(53), sin_addr=i$ 31769 20:37:22.166271 poll([{fd=3, events=POLLIN}], 1, 4998) = 1 ([{fd=3, revents=POLLIN}]) <3.723296> ------------------------------------------------------------------------ [2013-09-08 17:45:05] saleh at va dot com dot sa http://vaiasa.com/out.txt looks like php is trying to include libs that is not there! note i compiled with -with-libdir=lib64 and all the required libs installed and php did not complie that its not found. ------------------------------------------------------------------------ [2013-09-08 05:45:57] rasmus@php.net That doesn't sound right. I see no such delay on Centos here. Could you please run this: strace -Ff -tt -T -o out.txt php hello.php And put out.txt somewhere we can see it? (it's going to be too long to paste into the bug report) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=65632 -- Edit this bug report at https://bugs.php.net/bug.php?id=65632&edit=1

« previous php.bugs (#187022) next »