How to control resources allocated by Servoy and Sybase

Questions and Answers on installation, deployment, management, locking, tranasactions of Servoy Application Server

How to control resources allocated by Servoy and Sybase

Postby a.mariottini » Wed May 18, 2005 4:52 pm

I installed Servoy (and Sybase of course) on a Debian Linux virtual server.
I need to control the resources allocated by Servoy Server and Sybase.
If in the terminal I do "ps -aux" I see there is a lot of java processes.
How can I reduce them?
The server is accessed by 2-3 clients at a time so I don't need much resources.
Andrea Mariottini
a.mariottini
 
Posts: 120
Joined: Mon Aug 30, 2004 9:20 am
Location: Macerata, Italy

Postby jcompagner » Fri May 20, 2005 4:46 pm

you can't but that is also of no concern.
reducing some number of threads somehow will not gain much resources.

If you are using developer then don't start the server part. This will reduce some resources for the developer.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Postby a.mariottini » Fri Jun 17, 2005 11:06 am

I don't use developer on that machine.

My problem is I saw after few days the number of processes is over 60/70 even if there are non clients connected!

Servoy runs as user "servoy" and I have a limit of 100 processes per user on that machine, so (because sybase has at least 16 processes) I'm very near my limit!

I think Servoy should close unused processes after a reasonable time of inactivity.
Andrea Mariottini
a.mariottini
 
Posts: 120
Joined: Mon Aug 30, 2004 9:20 am
Location: Macerata, Italy

Postby sebster » Fri Jun 17, 2005 3:04 pm

Actually, I don't know how processes are counted on that machine, but in principle the Servoy Server is just one java process with many threads. These threads are kept in a thread pool and not released when they are idle, but when they are idle they assume no significant resources whatsoever.
Sebastiaan van Erk
Servoy
sebster
 
Posts: 251
Joined: Thu Apr 24, 2003 10:03 am
Location: Utrecht, The Netherlands


Return to Servoy Server

Who is online

Users browsing this forum: No registered users and 2 guests

cron