Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-25, 06:37:35

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - pats

Pages: [1]
1
Kloxo-MR Technical Helps / kloxo-phpcgi RAM usage
« on: 2014-03-04, 14:17:29 »
Hi,

How do i Reduce the RAM usage of kloxo-phpcgi ?
Quote
root      8761  0.0  7.9  46092 20724 pts/0    S    06:22   0:00 /opt/php52s/bin/php -c /opt/php52s/etc/php.ini /usr/local/lxlabs/kloxo/sbin/kloxo.ph
lxlabs    8765  0.0  3.9 102240 10296 ?        Ss   06:22   0:00 /opt/php52s/bin/kloxo-phpcgi
lxlabs    8775  0.0  2.1 102240  5728 ?        S    06:22   0:00 /opt/php52s/bin/kloxo-phpcgi

In a 512MB openvz vps i already optimised php-fpm.
Now want to reduce the RAM usage of kloxo-phpcgi as its unnecessary eating too much RAM :)

102240 is too much whereas one process of php-fpm is 29476

Thanks

2
Kloxo-MR Bugs and Requests / nginx restart and restart
« on: 2014-02-21, 20:32:13 »
Hi,
on a new Openvz installation centos 5 / 6 32bit
i'm getting emails of nginx restart every 10 mins
Code: [Select]
Host: la.dgdns.co
Date: Feb-21 11:21

Port: 80
Action: nginx restart

sysinfo
Code: [Select]
# sh /script/sysinfo

A. Kloxo-MR: 6.5.0.f-2014020301

B. OS: CentOS release 6.5 (Final) i686

C. Apps:
   1. MySQL: mysql-5.5.34-1.el6.i686
   2. PHP: php53u-5.3.28-1.ius.el6.i686
   3. Httpd: --uninstalled--
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.5.10-1.el6.i686
   6. Qmail: qmail-toaster-1.03-1.3.35.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el6.i686
   7. Dns: djbdns-1.05-17.3.mr.el6.i686

D. Php-type (for Httpd/proxy):

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:           512        225        286          0          0        110
   -/+ buffers/cache:        115        396
   Swap:          512          0        512

[root@la ~]#

the emails stop if i change the program to apache or lightpd.

Exactly same happenned when i re-installed kloxo-MR on other vps in diff location yesterday.

how to solve this?

regards,

3
Hi,

on one OpenVZ vps when i'm trying to add domain i'm getting error:
Code: [Select]
Alert: could_not_add_mail [/home/vpopmail/bin/vadddomain: invalid option -- '{']

tried fixmail-all

then tried uninstalling and installing toaster, but still no help...
Code: [Select]
yum remove *-toaster
rm -rf /var/qmail/*
yum install *-toaster fetchmail
sh /script/fixmail-all
reboot

one thing i noted though.. the Set statement are coming below.. any issue there?
Code: [Select]
sh /script/fixmail-all

Change qmail.init
--------------------------
Set '/home/vpopmail/bin/vchkpw' for root:root ownership
Set '/home/vpopmail/bin/vchkpw' for 4751 permissions
--------------------------
Set '/var/qmail/control/locals' with 'localhost' only
--------------------------
Using qmail-toaster - fix '/home/vpopmail/etc/vpopmail.mysql'
--------------------------
Reset Qmail Assign for domains
...


Regards

4
[root@uk ~]# rpm -ivh mratwork-release-0.0.1-1.noarch.rpm
Preparing...                ########################################### [100%]
   1:mratwork-release       ########################################### [100%]
[root@uk2 ~]# yum update mratwork-release
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirrors.coreix.net
 * extras: mirror.sov.uk.goscomb.net
 * mratwork-centalt: rpms.mratwork.com
 * mratwork-epel: mirrors.coreix.net
 * mratwork-ius: ius.cu.be
 * mratwork-ius-c5: rpms.mratwork.com
 * mratwork-release-neutral-arch: rpms.mratwork.com
 * mratwork-release-neutral-noarch: rpms.mratwork.com
 * mratwork-release-version-arch: rpms.mratwork.com
 * mratwork-release-version-noarch: rpms.mratwork.com
 * updates: mirror.sov.uk.goscomb.net
mratwork-centalt                                                                          |  951 B     00:00
mratwork-centalt/primary                                                                  | 101 kB     00:00
mratwork-centalt                                                                                         294/294
mratwork-epel                                                                             | 3.6 kB     00:00
mratwork-epel/primary_db                                                                  | 3.2 MB     00:01
mratwork-ius                                                                              | 2.1 kB     00:00
mratwork-ius/primary_db                                                                   | 110 kB     00:00
mratwork-ius-c5                                                                           |  951 B     00:00
mratwork-ius-c5/primary                                                                   |  11 kB     00:00
mratwork-ius-c5                                                                                            45/45
mratwork-release-neutral-arch                                                             | 2.9 kB     00:00
mratwork-release-neutral-arch/primary_db                                                  | 1.9 kB     00:00
http://rpms.mratwork.com/repo/mratwork/release/neutral/i386/repodata/aeb798f14247602bea5e9a9d87d5fb814626af3ac13baaa0d7485d7f5293f6e9-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/i386/repodata/aeb798f14247602bea5e9a9d87d5fb814626af3ac13baaa0d7485d7f5293f6e9-primary.sqlite.bz2: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
mratwork-release-neutral-arch/primary_db                                                  | 1.9 kB     00:00
http://rpms.mratwork.com/repo/mratwork/release/neutral/i386/repodata/aeb798f14247602bea5e9a9d87d5fb814626af3ac13baaa0d7485d7f5293f6e9-primary.sqlite.bz2: [Errno -3] Error performing checksum
Trying other mirror.
https://github.com/mustafaramadhan/kloxo/raw/rpms/release/neutral/i386/repodata/aeb798f14247602bea5e9a9d87d5fb814626af3ac13baaa0d7485d7f5293f6e9-primary.sqlite.bz2: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: failure: repodata/aeb798f14247602bea5e9a9d87d5fb814626af3ac13baaa0d7485d7f5293f6e9-primary.sqlite.bz2 from mratwork-release-neutral-arch: [Errno 256] No more mirrors to try.
[root@uk ~]#

5
Kloxo-MR Technical Helps / low memory optimize?
« on: 2013-08-30, 08:21:22 »
Hi,

I like Kloxo & Kloxo-MR for its low memory usage, but in recent Kloxo-MR i found memory usage increasing.
lots of kloxo-phpcgi & php-fpm process comes by default, eating the memory.
How can i optimize for a low memory VPS?

I can stop & disable the php-fpm, what about kloxo-phpcgi??

root       921  0.0  2.1  52088  2852 ?        S    15:05   0:00 /opt/php52s/bin/php -c /opt/php52s/etc/php.ini /usr/local/lxlabs/kloxo
root       923  0.0  0.4 108252   640 ?        Ss   15:05   0:00 /opt/php52s/bin/kloxo-phpcgi -b /usr/local/lxlabs/kloxo/init/kloxo-php
lxlabs     930  0.0  1.3  34560  1744 ?        Ssl  15:05   0:01 /usr/sbin/kloxo-hiawatha -c /usr/local/lxlabs/kloxo/init
root       997  0.0 14.3 118780 18764 ?        S    15:05   0:01 /opt/php52s/bin/kloxo-phpcgi -b /usr/local/lxlabs/kloxo/init/kloxo-php
root       998  0.0 16.6 115908 21828 ?        S    15:05   0:00 /opt/php52s/bin/kloxo-phpcgi -b /usr/local/lxlabs/kloxo/init/kloxo-php
root       999  0.0 15.2 111184 19976 ?        S    15:05   0:01 /opt/php52s/bin/kloxo-phpcgi -b /usr/local/lxlabs/kloxo/init/kloxo-php
root      1000  0.0 15.5 110936 20336 ?        S    15:05   0:01 /opt/php52s/bin/kloxo-phpcgi -b /usr/local/lxlabs/kloxo/init/kloxo-php
root      1053  0.0  0.3  37016   484 ?        Ss   15:06   0:00 php-fpm: master process (/etc/php-fpm.conf)
apache    1057  0.0  0.2  36972   344 ?        S    15:06   0:00 php-fpm: pool www
apache    1058  0.0  0.2  36972   344 ?        S    15:06   0:00 php-fpm: pool www
apache    1059  0.0  0.2  36972   344 ?        S    15:06   0:00 php-fpm: pool www
apache    1060  0.0  0.2  36972   344 ?        S    15:06   0:00 php-fpm: pool www
apache    1061  0.0  0.2  36972   344 ?        S    15:06   0:00 php-fpm: pool www
apache    1062  0.0  0.2  36812   348 ?        S    15:06   0:00 php-fpm: pool default
apache    1063  0.0  0.2  36812   348 ?        S    15:06   0:00 php-fpm: pool default
root      1169  0.0  0.2   3220   388 ?        Ss   15:13   0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid
qmails    1181  0.0  0.1   2304   224 ?        S    15:13   0:00 qmail-send
qmaild    1182  0.0  0.1   2044   160 ?        S    15:13   0:00 /usr/bin/tcpserver -v -R -H -l nyc1.dgdns.com -x /etc/tcprules.d/tcp
root      1186  0.0  0.1   2032   136 ?        S    15:13   0:00 qmail-lspawn ./Maildir/
qmailr    1187  0.0  0.1   2028   172 ?        S    15:13   0:00 qmail-rspawn
qmailq    1188  0.0  0.1   2008   148 ?        S    15:13   0:00 qmail-clean
root      6219  0.0  0.6  11692   908 ?        Ss   22:05   0:00 sshd: root@pts/0
root      6223  0.0  0.6   3048   872 pts/0    Ss   22:06   0:00 -bash
root      6444  0.0  0.1   2044   216 ?        S    22:08   0:00 tcpserver -vDRHl0 -x tcp.cdb -- 0.0.0.0 53 //bin/axfrdns
tinydns   6448  0.0  0.1   2000   212 ?        S    22:08   0:00 //bin/tinydns
apache    6577  0.0  0.9   9800  1284 ?        S    22:09   0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
apache    6579  0.0  0.6   9964   872 ?        S    22:09   0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
apache    6580  0.0  0.6   9964   872 ?        S    22:09   0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
apache    6581  0.0  0.6   9964   872 ?        S    22:09   0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf
apache    6582  0.0  0.6   9964   872 ?        S    22:09   0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf

Thanks

Pages: [1]

Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine

Page created in 0.034 seconds with 19 queries.

web stats analysis