[Malvern] php & kernel weirdness on Etch
Darren Beale
bealers at gmail.com
Thu Dec 6 12:00:24 GMT 2007
'lo
I've got a shiny new dev box running Etch and php won't play nicely on
the CLI, scripts will execute, but they don't exit. Initially I
thought it was my code and then I thought it might be the version of
PHP I was using (5.2.5) but I've just freshly compiled a dev snapshot
of 5.3 and even the most simplest command (php -v) hangs after
execution.
Here's the last bit of `strace php -v` which seems to stop in the
middle of futex(...
------8<------
/snip
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb78be000
time(NULL) = 1196936752
write(1, "PHP 5.3.0-dev (cli) (built: Dec "..., 151PHP 5.3.0-dev (cli)
(built: Dec 6 2007 10:16:01)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2007 Zend Technologies
) = 151
munmap(0xb78be000, 266240) = 0
mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0xb78be000
setitimer(ITIMER_PROF, {it_interval={0, 0}, it_value={0, 0}}, NULL) = 0
munmap(0xb74ca000, 99712) = 0
munmap(0xb7786000, 62068) = 0
munmap(0xb7751000, 216316) = 0
munmap(0xb7735000, 114552) = 0
munmap(0xb76b9000, 507140) = 0
munmap(0xb7694000, 150752) = 0
munmap(0xb7691000, 8876) = 0
munmap(0xb768c000, 17416) = 0
munmap(0xb765c000, 194988) = 0
munmap(0xb761d000, 255732) = 0
munmap(0xb74e3000, 1282904) = 0
gettimeofday({1196936752, 897720}, NULL) = 0
gettimeofday({1196936752, 898244}, NULL) = 0
futex(0xb7dfd400, FUTEX_WAIT, 2, NULL
....wait, wait, wait...
------>8------
What's this mean and how could this relate to my issue?
http://en.wikipedia.org/wiki/Futex doesn't mean a lot to me other
than it sounds kernel related
uname -a gives:
Linux grendel 2.6.18-4-686 #1 SMP Wed May 9 23:03:12 UTC 2007 i686 GNU/Linux
Can anybody suggest what I should try to solve this? Also, sorry for
swearing by saying php (there, I did it again).
db
--
Darren Beale
07711 716 197
http://bealers.com
More information about the Malvern
mailing list