Difference between revisions of "Seon Core performance and resources"

From Seon
Jump to: navigation, search
m
 
(2 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
In order to calculate the size of the required server, here some facts about the requirements and hints:  
 
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 active receiving process needs about 1.6MB RAM.  
*Each activbe sending process needs about 1.7MB RAM.  
+
*Each active 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.  
 
*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.  
 
*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 Seon receive daemon "<code>seonrd</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 Seon receive daemon "<code>seonrd</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!
 +
*If you expect any problems with the "overall statistics" (i.e. no graphic is returned from the web server), you might want to change the maximum length of the command line parameters passed by the shell. This could be done under AIX5L on-the-fly with the following command, where "<code>1024</code>" here is the amount of 4kB blocks allocated:
 +
chdev -l sys0 -a ncargs=1024

Latest revision as of 14:45, 15 June 2008

Seon is extremely optimized for ressource saving. Because of that fact, Seon 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 active 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 Seon receive daemon "seonrd".
  • 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!
  • If you expect any problems with the "overall statistics" (i.e. no graphic is returned from the web server), you might want to change the maximum length of the command line parameters passed by the shell. This could be done under AIX5L on-the-fly with the following command, where "1024" here is the amount of 4kB blocks allocated:
chdev -l sys0 -a ncargs=1024