Hi All,
We need to support our application (thirdparty) using ASF Apache 2.0.61(64-bit)
on AIX 5.3(64-bit). Here our application is also running in 64-bit mode.
We are facing an issue in dynamically loading the thirdparty module to
Apache2.0.61 server. Error shown in error_logs of Apache server is
"Error from DSOLoadLibrary - Not enough space".
We were able to load the library from a sample program, here apache is not in
the picture.
Sample program:-
void* SmDSOLoadLibrary ( const char *pszDSOPath, char **ppszErrorBuf )
{
void* pHandle = NULL;
pHandle = dlopen( ./test.so, RTLD_LAZY );
if ( !pHandle )
{
printf(" I am in");
return pHandle;
}
return pHandle;
}
Tried with options "ulimit -d unlimited" and also tried to increase the address
space by using option LDR_CTRL=MAXDATA=0x80000000
But still we are facing the same issue and getting the same error as "Error
from DSOLoadLibrary - Not enough space".
Also we tried to load the same thirdparty module to ASF Apache2.0.61 (64 bit)
on AIX 5.2(64 bit). There Apache is able to load the module and the process of
Apache and our application are working fine.
The above issue is on AIX 5.3(64 bit) only.
Any suggestion regarding this will be appreciated.
Thanks,
RT
**************** CAUTION - Disclaimer *****************
This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely
for the use of the addressee(s). If you are not the intended recipient, please
notify the sender by e-mail and delete the original message. Further, you are
not to copy, disclose, or distribute this e-mail or its contents to any other
person and any such actions are unlawful. This e-mail may contain viruses.
Infosys has taken every reasonable precaution to minimize this risk, but is not
liable for any damage you may sustain as a result of any virus in this e-mail.
You should carry out your own virus checks before opening the e-mail or
attachment. Infosys reserves the right to monitor and review the content of all
messages sent to or from this e-mail address. Messages sent to or from this
e-mail address may be stored on the Infosys e-mail system.
***INFOSYS******** End of Disclaimer ********INFOSYS***