HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Apache on HP-UX compiled with REENTRANT ... flag c...
Operating System - HP-UX
1827586
Members
2729
Online
109965
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-01-2001 06:33 AM
12-01-2001 06:33 AM
Apache on HP-UX compiled with REENTRANT ... flag crashes intermittently.
I would greatly appreciate any help regarding this problem. Thanks in advance.
Problem description:
On HP-UX, I compiled Apache 1.3.14 to support a multi-threaded C++ module. For this I used the following flags along with the default ones:
CFLAGS = -D_REENTRANT -D _POSIX_C_SOURCE=199506L -D_INCLUDE_HPUX_SOURCE ...
And linked libpthread.sl and libcl.sl libraries to the httpd.
Intermittently Apache dumps core for some requests by giving 'page not found' error.
The Apache core shows that it crashed in ap_table_add(). It looks like, somehow, Apache
pool got corrupted.
I tried debugging using ALLOC_DEBUG etc., but they did not helped. I am pretty much sure
that something is not getting corrupted within this multi-threaded module, as the same
module is working fine on Solaris without dumping core etc.,
- Are the above compile time flags sufficient for Apache to have a multi-threaded module.
- Are there any specific issues with Apache 1.3.14 on HP-UX.
Background:
Basically, I am porting an existing Solaris Apache webserver module to HP-UX. This
is a multi-threaded module which creates few threads to make connections to our back-end etc., For this on Solaris, I compiled Apache with _REENTRAT flag and linked libpthread.so library to httpd. This module is running without any problem on Solaris, even on heavy loads.
Thanks in advance.
Problem description:
On HP-UX, I compiled Apache 1.3.14 to support a multi-threaded C++ module. For this I used the following flags along with the default ones:
CFLAGS = -D_REENTRANT -D _POSIX_C_SOURCE=199506L -D_INCLUDE_HPUX_SOURCE ...
And linked libpthread.sl and libcl.sl libraries to the httpd.
Intermittently Apache dumps core for some requests by giving 'page not found' error.
The Apache core shows that it crashed in ap_table_add(). It looks like, somehow, Apache
pool got corrupted.
I tried debugging using ALLOC_DEBUG etc., but they did not helped. I am pretty much sure
that something is not getting corrupted within this multi-threaded module, as the same
module is working fine on Solaris without dumping core etc.,
- Are the above compile time flags sufficient for Apache to have a multi-threaded module.
- Are there any specific issues with Apache 1.3.14 on HP-UX.
Background:
Basically, I am porting an existing Solaris Apache webserver module to HP-UX. This
is a multi-threaded module which creates few threads to make connections to our back-end etc., For this on Solaris, I compiled Apache with _REENTRAT flag and linked libpthread.so library to httpd. This module is running without any problem on Solaris, even on heavy loads.
Thanks in advance.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP