All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Anyone please tell me why getting this error in yum command?
[root@host ~]# yum install lighttpd
Loaded plugins: fastestmirror, protectbase
Loading mirror speeds from cached hostfile
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 309, in user_main
errcode = main(args)
File "/usr/share/yum-cli/yummain.py", line 178, in main
result, resultmsgs = base.doCommands()
File "/usr/share/yum-cli/cli.py", line 345, in doCommands
self._getTs(needTsRemove)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 101, in _getTs
self._getTsInfo(remove_only)
File "/usr/lib/python2.4/site-packages/yum/depsolve.py", line 112, in _getTsInfo
pkgSack = self.pkgSack
File "/usr/lib/python2.4/site-packages/yum/init.py", line 662, in
pkgSack = property(fget=lambda self: self._getSacks(),
File "/usr/lib/python2.4/site-packages/yum/init.py", line 502, in _getSacks
self.repos.populateSack(which=repos)
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 232, in populateSack
self.doSetup()
File "/usr/lib/python2.4/site-packages/yum/repos.py", line 79, in doSetup
self.ayum.plugins.run('postreposetup')
File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 179, in run
func(conduitcls(self, self.base, conf, **kwargs))
File "/usr/lib/yum-plugins/fastestmirror.py", line 181, in postreposetup_hook
all_urls = FastestMirror(all_urls).get_mirrorlist()
File "/usr/lib/yum-plugins/fastestmirror.py", line 333, in get_mirrorlist
self._poll_mirrors()
File "/usr/lib/yum-plugins/fastestmirror.py", line 376, in _poll_mirrors
pollThread.start()
File "/usr/lib/python2.4/threading.py", line 416, in start
_start_new_thread(self.__bootstrap, ())
thread.error: can't start new thread
Comments
Disable plugins and try again. Looks like you're outta RAM.
To permenantly disable.
Change in plugins=1 to plugins=0 in /etc/yum.conf.
I OpenVZ.
how?
Updated post.
nano /etc/yum.conf
How much RAM does this VPS have anyway?
its 128mb burst 256mb after error its used 178 after few optimization now used 32mb
Looks like inadequate RAM to me too.
32? what services you're running? I can get down to 10.5mb
is there any way to use less then 32mb with kloxo?
i just learning..new with command.can you tell me what i need to type to post here the list of my process?
Should do the trick.
root 1 0.0 0.2 2156 660 ? Ss 02:21 0:00 init [3]
root 1341 0.0 0.2 1812 572 ? Ss 02:21 0:00 syslogd -m 0
qmails 1351 0.0 0.1 2000 464 ? S 02:21 0:00 qmail-send
qmaill 1352 0.0 0.1 1752 472 ? S 02:21 0:00 splogger qmail
root 1353 0.0 0.1 1764 356 ? S 02:21 0:00 qmail-lspawn |preline procmail
qmailr 1354 0.0 0.1 1760 352 ? S 02:21 0:00 qmail-rspawn
qmailq 1355 0.0 0.1 1744 340 ? S 02:21 0:00 qmail-clean
root 1366 0.0 0.4 7204 1056 ? Ss 02:21 0:00 /usr/sbin/sshd
root 1374 0.0 0.3 2832 892 ? Ss 02:21 0:00 xinetd -stayalive -pidfile /var
root 1406 0.0 0.4 3712 1304 ? S 02:21 0:00 /bin/sh /usr/bin/mysqld_safe --
mysql 1456 0.0 2.8 34924 7540 ? Sl 02:21 0:00 /usr/libexec/mysqld --basedir=/
lxlabs 1499 0.0 0.6 6292 1800 ? S 02:21 0:00 /usr/local/lxlabs/ext/lxlighttp
root 1562 0.0 0.4 4488 1084 ? Ss 02:21 0:00 crond
root 1570 0.0 0.2 5680 700 ? Ss 02:21 0:00 /usr/sbin/saslauthd -m /var/run
root 1571 0.0 0.1 5680 444 ? S 02:21 0:00 /usr/sbin/saslauthd -m /var/run
root 1630 0.0 1.1 10040 2900 ? Ss 02:28 0:00 sshd: root@pts/0
root 1632 0.0 0.5 3716 1480 pts/0 Ss 02:28 0:00 -bash
admin 1937 0.0 1.0 7944 2668 ? Ss 02:37 0:00 pure-ftpd (IDLE)
root 1938 0.0 0.2 7944 688 ? S 02:37 0:00 pure-ftpd (PRIV)
root 3303 0.0 0.3 2532 908 pts/0 R+ 02:53 0:00 ps aux
You can lower mySQL memory usage, that usually gets you below 20MB mark
Edit /etc/my.cnf
Check to see if you have these two and remove the # symbol (if they aren't there, you can add these two lines in without the #)
`
skip-bdb
skip-innodb
Change to
skip-bdb
skip-innodb
`
Then restart mySQL.
You can also shutdown Apache/mySQL while doing the yum update to get the ram back.
Finally, an easy way is to ask your provider to give you 100 more megs of RAM temporarily for YUM. If your provider is easy-going, they can bump you up for 24 hours or something.
i already apply my in my way http://www.lowendtalk.com/discussion/1290/run-kloxo-wordpress-torrentflux-lighttpd-in-low-memory-128mb-lowendbox-vps#Item_28
need more optimization one of member said he used 10.5 mb!!!
Wow, 10.5MB is amazing, I never got it that low
Member
@raihan0888 said: its 128mb burst 256mb after error its used 178 after few optimization now used 32mb
you get 10.5 with kloxo?how?
wait to hear from netmx.how he did.
He's probably not using a control panel like Kloxo... control panels aren't conducive to low memory usage. Getting down to 32mb on a 128mb VPS is pretty good, i'd say.
facing another problem :P
unable to change php type in kloxo.
previous version i able to easly change to suphp.but in new version not found.manual install show php type change box fast cgi to suphp?
As Daiman said he probebly isn't using Kloxo with all the additional services it has and more RAM consuming services it has.
Can you downgrade versions? Kloxo seems very buggy.
any other leight-weight control panel? what you suggest?where i find kloxo like user interface? what i need to downgrade?
BoxCtrl ?
Try Webmin?
i see boxcntrl demo.impressed.but confused getting solution for any problem?cause its not popular yet.
i try webmin. its hard from my view.but most of the user say its easy.
BoxCtrl is just ment for the basics.
I never said I use Kloxo.. without the services, I get 10.5mb. If I use lighttpd with fastcgi, it increases to 15. Also, I use PPTP, you can get maybe a little less than that if you disable it.
Maybe you can get 2mb less if you change sshd to dropbear... will try on the weekend.
@raihan0888
disable these services if not needed:
How to stop them?
How to disable them on boot?
guys thanks to all.
i solve my problem in kloxo 6.1.10
here is the solution:
http://forum.lxcenter.org/index.php?t=msg&goto=95151&&srch=lighttpd#msg_95151
putting this 3 command my 3 days problem solved
I'm using 15mb RAM for nginx, php-fastcgi with 2 processes, nsd and dropbear.
To save a bit run dropbear under inetd or xinetd.
Be sure to subtract the memory that your ssh connection, shell, and command that you are running. These usually add up to 3 megs or so.