When hangging userver processes will be killed? | Uniface Development | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

—  Results per page  —








— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters
For a group of consecutive words like 'end of support' use Match phrase

sp_Feed Topic RSS sp_TopicIcon
When hangging userver processes will be killed?
17 Mar 2017
8:58 am
Avatar
Hendrik Schmidt
New Member
Forum Posts: 2
Member Since:
24 Feb 2017
sp_UserOfflineSmall Offline

Hello,

I’m new in the Uniface world.

Sometimes we can see with

select s.sid, se.machine, se.process, se.username, to_char(se.logon_time, ‘DD.MM.YY HH24:MI:SS’) login_time, s.value, se.program

from v$sesstat s, v$statname n, v$session se 

where n.name = ‘session pga memory’ and n.statistic#=s.statistic# and s.sid=se.sid order by se.logon_time;

eg:  613 m1 15532162 user1 16.03.17 07:34:03 2548832 userver@m1(TNS V1-V3)

processes from the last day(s).

in 99% the cases this processes will be finished automatically from the System (latest after 2-3 days)

We are using Windows 10 Clients and the database on AIX (Oracle 11).

Question 1: Which process will kill this processes

Question 2: Sometimes (1%) of this processes will not finished automatically and we kill it on UNIX -> in this cases the Urouter finished without Errors in the urouterlog file if the userver process not older as one day.

Is that known or is there an answer, why it breaks?

Many thanks in Advance

Hendrik

17 Mar 2017
4:59 pm
Avatar
gianni
Member
Forum Posts: 203
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi Hendrik,

In your description you’ve mentioned W10 clients but from your text my gotfeel is you are working in a web environment using uservers.

If my gotfeel is right you should explore startup parameters for UST defined into urouter.asn.
Parameters like -max -maxreq -maxidle I think are those you are looking for…

Hope it helps!

Regards,
Gianni

20 Mar 2017
9:48 am
Avatar
Adrian Gosbell
Amsterdam, seat 77a of a Boeing 747
Admin
Forum Posts: 258
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Henrik, welcome to Uniface and Uniface.info. 

This is the kind of issue where you will be better off contacting the support team for assistance, they usually needs to be approached step by step. 

What is killing the process, could be a number of things for example, are there external scripts/programs which are checking for rogue processes, are there settings like Gianni mentioned above or in the OS? 

The cause could be many reasons, could be environmental in the deployment environment (OS, database, other technologies), could be programming in the application logic, or could be a Uniface issue in the product. 

20 Mar 2017
1:33 pm
Avatar
Hendrik Schmidt
New Member
Forum Posts: 2
Member Since:
24 Feb 2017
sp_UserOfflineSmall Offline

Hello all,

Thanks for the answer.

Seems the behaviour is not a known behaviour und then of cause an anylsse by Suppport needed.

In the Moment, no Problem Comes up with too much hanging sessions.

 

regardsConfused

Hendrik

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 131

Currently Online:
15 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1648

Iain Sharp: 566

Theo Neeskens: 323

rogerw: 212

gianni: 203

lalitpct: 194

istiller: 175

-GHAN-: 171

sochaz: 165

Knut: 154

Member Stats:

Guest Posters: 2

Members: 3029

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 1876

Posts: 8123

Newest Members:

MichaelEcornads, Evgeniywab, Kevin Tai, JerryCoN, aapedtup, MorrisWep, AndreyHoato, RaghdaMorsy, DemuRAviK, Maluvat

Administrators: admin: 23, Adrian Gosbell: 258, diseli: 683, Bob Maier: 2, Nico Peereboom: 54, Michael Rabone: 4, richiet: 406, JanCees: 23