Difference between revisions of "OS4X Core performance and resources"
Jump to navigation
Jump to search
m |
|||
Line 8: | Line 8: | ||
*After correct transfer of a received file, it gets moved from the temporary directory to the incoming directory. To improve performance on this task, it's better to configure these directories in the same logical volume/partition, say: in the same filesystem. | *After correct transfer of a received file, it gets moved from the temporary directory to the incoming directory. To improve performance on this task, it's better to configure these directories in the same logical volume/partition, say: in the same filesystem. | ||
*In order to open more connections over TCP/IP, you have to configure the kernel parameter SOMAXCONN. On some modern Unix derivates this is possible on-the-fly. To take these changes effect you have to restart the OS4X receive daemon "<code>os4xrd</code>". | *In order to open more connections over TCP/IP, you have to configure the kernel parameter SOMAXCONN. On some modern Unix derivates this is possible on-the-fly. To take these changes effect you have to restart the OS4X receive daemon "<code>os4xrd</code>". | ||
− | *If you receive a MySQL error "<code>no more connection allowed<code>“ or "<code>too many connections</code>", you have to configure the MySQL server by increasing the value of max_connections in the configfile "<code>my.cnf</code>" in the section "<code>[mysqld]</code>". If this entry doesn't exist, insert a line in that section like "<code>max_connections=800</code>" (with appropriate value). You have to restart the MySQL server in order to take this change effect. Please take care about values above 1024! | + | *If you receive a MySQL error "<code>no more connection allowed</code>“ or "<code>too many connections</code>", you have to configure the MySQL server by increasing the value of max_connections in the configfile "<code>my.cnf</code>" in the section "<code>[mysqld]</code>". If this entry doesn't exist, insert a line in that section like "<code>max_connections=800</code>" (with appropriate value). You have to restart the MySQL server in order to take this change effect. Please take care about values above 1024! |
Revision as of 14:17, 11 July 2007
OS4X is extremely optimized for ressource saving. Because of that fact, OS4X is able to run on PDAs, mobile phones as well as on heavy loaded Unix servers.
In order to calculate the size of the required server, here some facts about the requirements and hints:
- Each active receiving process needs about 1.6MB RAM.
- Each activbe sending process needs about 1.7MB RAM.
- The incoming and temporary filesystem must be at least this size free, the largest file to receive can be. I.e. if you want to receive a 250MB file, you need 250MB free in the temporary directory and also 250MB free in the incoming directory.
- After correct transfer of a received file, it gets moved from the temporary directory to the incoming directory. To improve performance on this task, it's better to configure these directories in the same logical volume/partition, say: in the same filesystem.
- In order to open more connections over TCP/IP, you have to configure the kernel parameter SOMAXCONN. On some modern Unix derivates this is possible on-the-fly. To take these changes effect you have to restart the OS4X receive daemon "
os4xrd
". - If you receive a MySQL error "
no more connection allowed
“ or "too many connections
", you have to configure the MySQL server by increasing the value of max_connections in the configfile "my.cnf
" in the section "[mysqld]
". If this entry doesn't exist, insert a line in that section like "max_connections=800
" (with appropriate value). You have to restart the MySQL server in order to take this change effect. Please take care about values above 1024!