Operating System - HP-UX
1833828 Members
2054 Online
110063 Solutions
New Discussion

exec(2) : text exceeds limits error

 
SOLVED
Go to solution
Kathiravan Velusamy
Occasional Contributor

exec(2) : text exceeds limits error

Hello All, When I try to run ldd command for a binary file which is more than 10MB, I received following error in my HP-UX 11.23 IPF machine.

$ ldd mysql/libexec/mysqld

exec(2): text exceeds limits
ldd: Cannot execute "/opt/iexpress/mysql/libexec/mysqld", Not enough space.

Original size of "mysql/libexec/mysqld" binary file is ~ 12 MB. ( 12752 KB).

I have attached a file which contains information about kernel values present in my machine with swapinfo and bdf information's.

Please help me to get rid of this error.

Thanks,
Kathir
Attack Every Problem with Enthusiasm, if your Survival Depending on it
2 REPLIES 2
Stephen Keane
Honored Contributor
Solution

Re: exec(2) : text exceeds limits error

Try increasing maxtsiz/maxtsiz_64bit the maximum text size(s) for a process.
Kathiravan Velusamy
Occasional Contributor

Re: exec(2) : text exceeds limits error

Hello Stephen Keane, Thanks for the solution.
It worked well. Now I didn't get any errors.
~kathir
Attack Every Problem with Enthusiasm, if your Survival Depending on it