apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Midhun Chandran <midhun_chand...@persistent.co.in>
Subject apr_lock_create fails on HP-UX 11
Date Thu, 15 May 2003 14:41:25 GMT
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.


Mime
View raw message