Thanks Eric. I have 46752.
2012/9/29 Erick Romero <[email protected]> > Hello friends. > > The script located below will show the memory usage. Just create a file > (i.e. mem_stats) and copy the content inside, later call the file you > created from console (./mem_stats aped) > On the other hand, you can try the latest APE version in your DEV machine > and see if MySQL is working. In this way you will keep safe your copy in > your dedicated server. > (however long time ago I wrote that I prefer to use http-ape-request to > localhost and delegate mysql related tasks to PHP) > > > --------------------------------- > #!/bin/bash > > if test -n "$1" > then > echo "RSS Column is the memory used in kilobytes (divide by 1024 to get > megas)" > else > echo "Usage mem_stats apache2 or mem_stats all or mem_stats mysqld" > exit 1 > fi > > free -m > > if [ "$1" = "all" ]; then > ps -ylA --sort:rss > else > ps -ylC "$1" --sort:rss > fi > > exit 0 > --------------------------------- > > > Output > > $ ./mem_stats aped-1.1.2-dev- > RSS Column is the memory used in kilobytes (divide by 1024 to get megas) > total used free shared buffers cached > Mem: 2002 1769 232 0 89 609 > -/+ buffers/cache: 1070 932 > Swap: 3074 367 2707 > S UID PID PPID C PRI NI RSS SZ WCHAN TTY TIME CMD > S 33 19531 19529 0 80 0 *3352* 2507 ep_pol pts/4 00:00:00 > aped-1.1.2-dev- > > > For my case APED uses 3352 kb (around 3 mb) > > Erick Romero > [email protected] > ------------------------------ > Caminando hacia lo infinito, > puedo pensar en lo imaginable. > On 09/28/2012 02:50 PM, Nicolas wrote: > > Top and webmin don't show the same thing. The memory thing is a bit > confusing on Linux I have to say. Then, there is also the VIRT and RES > memories. All in all, I don't think I have a memory problem. The dedicated > server support that I questioned probably pointed me into the wrong > direction. > > Back to APE, the VIRT memory at start is 48000kB and the RES memory is > about 6000. But the latter goes up by 8 kB every 2 seconds in the few > minutes, then it seems that the increase gets smaller and smaller. This is > weird... My production server that has been up and running for one week is > now at 42mB. Is that really too much? > > Regarding to building the latest version of the GIT, I am a bit > reluctant. Does it really work with Mysql? My current version was compiled > in june last year and it works fine overall (although it is possible that > there is still a problem with somewhere). The Mysql issue has been around > for so long that I really don't trust any other version than the one I > pointed a few times here. 1.0.8 I think. > > Thanks for your time Pablo. > > > > -- > You received this message because you are subscribed to the Google > Groups "APE Project" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/ape-project?hl=en > --- > APE Project (Ajax Push Engine) > Official website : http://www.ape-project.org/ > Git Hub : http://github.com/APE-Project/ > -- You received this message because you are subscribed to the Google Groups "APE Project" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/ape-project?hl=en --- APE Project (Ajax Push Engine) Official website : http://www.ape-project.org/ Git Hub : http://github.com/APE-Project/
