You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Midhun Chandran <mi...@persistent.co.in> on 2003/05/15 16:41:25 UTC

apr_lock_create fails on HP-UX 11

Hi,

I am facing the following problem on HP-UX 11.11 with apache version 
2.0.35 (apr 0.9.0)
#uname -a
HP-UX chittor B.11.11 U 9000/800 812920600 unlimited-user license

apr_lock_create is failing in mmap call on '/dev/zero' fd.

The tusc output shows the following:

getpid() 
.............................................................................................. 
= 17366 (17365)
getpid() 
.............................................................................................. 
= 17366 (17365)
open("/dev/zero", O_RDWR, 072530) 
..................................................................... = 11
mmap(NULL, 88, PROT_READ|PROT_WRITE, MAP_SHARED, 11, NULL) 
............................................ ERR#19 ENODEV
gettimeofday(0x77ff1290, NULL) 
........................................................................ = 0
getpid() 
.............................................................................................. 
= 17366 (17365)

I found out that HP-UX does not allow mmap on /dev/zero. Is there any 
way I can get around this ?

Thanks in advance,
Midhun.