Operating System - HP-UX
1836579 Members
1623 Online
110102 Solutions
New Discussion

Re: EPERM occuring while starting our application

 
Laurent Laperrousaz
Regular Advisor

EPERM occuring while starting our application

Our application runs many processes. they are launched and supervised by a dedicated process.

SOmetimes when a process crashes, the superviser restarts this process and it may happen that the restarted process gives "not owner " error in the log. If we kill the process again, it restarts ok.

These processes open 3 files for reading configuration purpose, 3 ORACLE connections, and a socket (INET) for inter-process dialog.

Here are the ulimit of the user that launches the application:
# ulimit -a
core file size (blocks, -c) 2097151
data seg size (kbytes, -d) 1048576
file size (blocks, -f) unlimited
max memory size (kbytes, -m) unlimited
open files (-n) 2048
pipe size (512 bytes, -p) 16
stack size (kbytes, -s) 131072
cpu time (seconds, -t) unlimited
max user processes (-u) 401
virtual memory (kbytes, -v) unlimited

What could cause this erratic EPERM error?

Laurent
1 REPLY 1
Steve Steel
Honored Contributor

Re: EPERM occuring while starting our application

Hi

Which OS and Oracle version do you have


Also what does getprivgrp give for the group involved. Maybe you have a memory lock which does not clear quick enough and only on the second try can it run.


Steve Steel

If you want truly to understand something, try to change it. (Kurt Lewin)