[gentoo-user] Apache forked itself to death...

2012-09-16 Thread Jarry
Hi, strange thing happened to my web-server (apache-2.2.22-r1): it started forking untill it used all ram/swap and stopped responding. I counted ~60 apache processes running (ps -a), all sleeping, top showed no load except all memory being used. Log-files showed nothing suspicious to me, except

Re: [gentoo-user] Generate an ebuild for mldonkey-3.1.3

2012-09-16 Thread Alexandre Paz Mena
Ok, thank you very much! Apart from that, I should add those files to the dependencies, right? On Sun, Sep 16, 2012 at 4:33 AM, Michael Orlitzky mich...@orlitzky.comwrote: On 09/15/2012 11:59 AM, Alexandre Paz Mena wrote: Thanks, I'll post a bug to upstream. Meanwhile, instead of

[gentoo-user] Samba wants to downgrade my python....

2012-09-16 Thread Andrew Lowe
Hi all, I've got a media server that I'm in the process of installing Samba on. When I do: emerge -NuD --pretend samba I get a list of stuff that portage wants to install, including Python, V2.7.3, even though the machine already has V3.2.3 installed. I've also stripped down the USE

Re: [gentoo-user] Samba wants to downgrade my python....

2012-09-16 Thread Randolph Maaßen
On Sep 16, 2012 1:05 PM, Andrew Lowe a...@wht.com.au wrote: Hi all, I've got a media server that I'm in the process of installing Samba on. When I do: emerge -NuD --pretend samba I get a list of stuff that portage wants to install, including Python, V2.7.3, even though the machine

Re: [gentoo-user] Samba wants to downgrade my python....

2012-09-16 Thread Alan McKinnon
On Sun, 16 Sep 2012 18:59:33 +0800 Andrew Lowe a...@wht.com.au wrote: Hi all, I've got a media server that I'm in the process of installing Samba on. When I do: emerge -NuD --pretend samba I get a list of stuff that portage wants to install, including Python, V2.7.3, even though

Re: [gentoo-user] Samba wants to downgrade my python....

2012-09-16 Thread Neil Bothwick
On Sun, 16 Sep 2012 18:59:33 +0800, Andrew Lowe wrote: I've had a look at the USE variables for the packages that follow Python in the emerge list and they either don't want python or already have -python set. You've already had a reply about the slotted nature of python, but you also need

Re: [gentoo-user] Samba wants to downgrade my python....

2012-09-16 Thread Marc Joliet
Am Sun, 16 Sep 2012 18:59:33 +0800 schrieb Andrew Lowe a...@wht.com.au: Hi all, Hi, I've got a media server that I'm in the process of installing Samba on. When I do: emerge -NuD --pretend samba I get a list of stuff that portage wants to install, including Python, V2.7.3,

Re: [gentoo-user] Samba wants to downgrade my python....

2012-09-16 Thread Andrew Lowe
On 09/16/12 19:19, Randolph Maaßen wrote: On Sep 16, 2012 1:05 PM, Andrew Lowe a...@wht.com.au mailto:a...@wht.com.au wrote: Hi all, I've got a media server that I'm in the process of installing Samba on. When I do: emerge -NuD --pretend samba I get a list of stuff that

Re: [gentoo-user] Samba wants to downgrade my python....

2012-09-16 Thread Neil Bothwick
On Sun, 16 Sep 2012 19:32:11 +0800, Andrew Lowe wrote: I suppose I'll have to have a look at the ebuild to try and work out why this thingy wants Python, any python, in the first place. Portage is written in Python, which raises the question of why you didn't have python:2 installed in the

Re: [gentoo-user] Apache forked itself to death...

2012-09-16 Thread Michael Hampicke
Am 16.09.2012 08:55, schrieb Jarry: Hi, strange thing happened to my web-server (apache-2.2.22-r1): it started forking untill it used all ram/swap and stopped responding. I counted ~60 apache processes running (ps -a), all sleeping, top showed no load except all memory being used. Log-files

Re: [gentoo-user] Apache forked itself to death...

2012-09-16 Thread Michael Mol
On Sun, Sep 16, 2012 at 9:26 AM, Michael Hampicke gentoo-u...@hadt.biz wrote: Am 16.09.2012 08:55, schrieb Jarry: Hi, strange thing happened to my web-server (apache-2.2.22-r1): it started forking untill it used all ram/swap and stopped responding. I counted ~60 apache processes running (ps

Re: [gentoo-user] Generate an ebuild for mldonkey-3.1.3

2012-09-16 Thread Michael Orlitzky
On 09/16/12 04:20, Alexandre Paz Mena wrote: Ok, thank you very much! Apart from that, I should add those files to the dependencies, right? Nope, all you should have to do is copy the net-p2p/mldonkey/files directory into the corresponding directory in your overlay. The

Re: [gentoo-user] Samba wants to downgrade my python....

2012-09-16 Thread Andrew Lowe
On 09/16/12 19:53, Neil Bothwick wrote: On Sun, 16 Sep 2012 19:32:11 +0800, Andrew Lowe wrote: I suppose I'll have to have a look at the ebuild to try and work out why this thingy wants Python, any python, in the first place. Portage is written in Python, which raises the question of why you

[gentoo-user] Offline Update

2012-09-16 Thread Silvio Siefke
Hello, can i copy the portage tree from my Notebook to the desktop PC? http://en.gentoo-wiki.com/wiki/Networkless_Maintenance I use this as help, but must i load the portage latest or can copy the tree from Notebook, because is up to date. Thanks for help. Regards Silvio

Re: [gentoo-user] Samba wants to downgrade my python....

2012-09-16 Thread Kerin Millar
Andrew Lowe wrote: On 09/16/12 19:53, Neil Bothwick wrote: On Sun, 16 Sep 2012 19:32:11 +0800, Andrew Lowe wrote: I suppose I'll have to have a look at the ebuild to try and work out why this thingy wants Python, any python, in the first place. Portage is written in Python, which raises the

Re: [gentoo-user] Offline Update

2012-09-16 Thread Alan McKinnon
On Sun, 16 Sep 2012 18:52:54 +0200 Silvio Siefke siefke_lis...@web.de wrote: Hello, can i copy the portage tree from my Notebook to the desktop PC? Yes. There is only one tree, not different one for different arches. So it does not matter where you get your tree from, only that you do have

Re: [gentoo-user] Offline Update

2012-09-16 Thread Bryan Gardiner
On Sun, 16 Sep 2012 18:52:54 +0200 Silvio Siefke siefke_lis...@web.de wrote: Hello, can i copy the portage tree from my Notebook to the desktop PC? http://en.gentoo-wiki.com/wiki/Networkless_Maintenance I use this as help, but must i load the portage latest or can copy the tree from

Re: [gentoo-user] Offline Update

2012-09-16 Thread Dale
Alan McKinnon wrote: On Sun, 16 Sep 2012 18:52:54 +0200 Silvio Siefke siefke_lis...@web.de wrote: Hello, can i copy the portage tree from my Notebook to the desktop PC? Yes. There is only one tree, not different one for different arches. So it does not matter where you get your tree

Re: [gentoo-user] Offline Update

2012-09-16 Thread João Matos
A few years ago, I used to run gentoo offline. When I needed to update it, I used to download the portage snapshot, and use the following script, based on Gentoo handbook: #!/bin/bash mv /usr/portage/distfiles /usr/ rm -rf /usr/portage/ tar xvjf $1 -C /usr mv /usr/distfiles /usr/portage/ emerge

Re: [gentoo-user] Apache forked itself to death...

2012-09-16 Thread Michael Hampicke
* Each Apache process is consuming 80-100MB of RAM. * Squid is consuming 666MB of RAM * memcached is consuming 822MB of RAM * mysqld is consuming 886MB of RAM * The kernel is using 110MB of RAM for buffers * The kernel is using 851MB of RAM for file cache (which benefits squid). And,

Re: Re: [gentoo-user] Update to newer kernel completely hoses suspend

2012-09-16 Thread Daniel Frey
On 09/15/2012 03:26 PM, Mick wrote: I was also replacing capacitors last weekend. It is a good idea to upgrade them if there are alternatives of a higher maximum temperature as they will probably last longer. A belts braces approach is to add another/larger case fan to keep the

Re: Re: [gentoo-user] Update to newer kernel completely hoses suspend

2012-09-16 Thread Daniel Frey
On 09/15/2012 03:29 PM, Dale wrote: Daniel Frey wrote: Well, it turns out it was my PSU. The voltage drop on the 5V line was 4.08, but it would slowly warm up to 4.95V, then the PC would behave normally. I opened the PSU and there was a ruptured cap. I've replaced it and the problems are all

Re: [gentoo-user] USB automount

2012-09-16 Thread Canek Peláez Valdés
On Fri, Sep 14, 2012 at 12:42 AM, Stefan G. Weichinger li...@xunil.at wrote: [snip] Great to hear, thanks so far. Looking forward to his reply Stefan, do you use systemd? David told me that he could only check the bug on monday, so I did a little research on the weekend. I installed Gentoo

Re: [gentoo-user] Update to newer kernel completely hoses suspend

2012-09-16 Thread Dale
Daniel Frey wrote: On 09/15/2012 03:29 PM, Dale wrote: Daniel Frey wrote: Well, it turns out it was my PSU. The voltage drop on the 5V line was 4.08, but it would slowly warm up to 4.95V, then the PC would behave normally. I opened the PSU and there was a ruptured cap. I've replaced it and

Re: [gentoo-user] Update to newer kernel completely hoses suspend

2012-09-16 Thread Peter Humphrey
On Saturday 15 September 2012 17:28:26 Daniel Frey wrote: I guess it was not really a coincidence that the failure happened after a major update. This isn't the first time an `emerge -pvuDN world` killed my computer. :-) A real-life example of software breaking hardware, which was drummed

Re: [gentoo-user] new machine : a few small queries

2012-09-16 Thread Philip Webb
On Saturday 15 Sep 2012 01:27:04 Philip Webb wrote: (1) In Fluxbox, Gkrellm insists on starting on Desktop 1 ; on my existing machine with the same config files, it starts on Desktop 8 . There must be some setting somewhere which has got changed. The problem arose from the unadvertised

[gentoo-user] new machine : suddenly Python 3 appears

2012-09-16 Thread Philip Webb
We've been warned not to use Python 3 , so it's not installed in this box, but it was included along with Python 2 in the Stage3 for the new machine. I now find that 13 pkgs have been compiled relying on it Portage refuses to unmerge it. Is this safe ? --

Re: [gentoo-user] new machine : suddenly Python 3 appears

2012-09-16 Thread Dale
Philip Webb wrote: We've been warned not to use Python 3 , so it's not installed in this box, but it was included along with Python 2 in the Stage3 for the new machine. I now find that 13 pkgs have been compiled relying on it Portage refuses to unmerge it. Is this safe ? If you want to

Re: [gentoo-user] new machine : suddenly Python 3 appears

2012-09-16 Thread Michael Mol
On Sun, Sep 16, 2012 at 8:24 PM, Philip Webb purs...@ca.inter.net wrote: We've been warned not to use Python 3 Maybe I missed something...but by whom? -- :wq

Re: [gentoo-user] new machine : suddenly Python 3 appears

2012-09-16 Thread Dale
Michael Mol wrote: On Sun, Sep 16, 2012 at 8:24 PM, Philip Webb purs...@ca.inter.net wrote: We've been warned not to use Python 3 Maybe I missed something...but by whom? I think he means that we are not supposed to set the system default to python3. I'm just reading tea leaves, between the

Re: [gentoo-user] new machine : suddenly Python 3 appears

2012-09-16 Thread Michael Mol
On Sun, Sep 16, 2012 at 9:18 PM, Dale rdalek1...@gmail.com wrote: Michael Mol wrote: On Sun, Sep 16, 2012 at 8:24 PM, Philip Webb purs...@ca.inter.net wrote: We've been warned not to use Python 3 Maybe I missed something...but by whom? I think he means that we are not supposed to set the

[gentoo-user] Kernel options and udisk

2012-09-16 Thread Dale
Howdy, I was doing a update a while back and noticed a ewarn, enotice or something going by. I used the elogviewer to go back and dig it out. This is what it says: Found sources for kernel version: 3.5.0-gentoo Checking for suitable kernel configuration options... ERROR (setup)

Re: [gentoo-user] Kernel options and udisk

2012-09-16 Thread Canek Peláez Valdés
On Sun, Sep 16, 2012 at 8:39 PM, Dale rdalek1...@gmail.com wrote: [snip] The important part is about 'if you are unsure about this, say N here'. Well, I don't think I need USB remote wakeup or anything so I don't think I need this but at the same time, udisk is giving me notice that it should

Re: [gentoo-user] new machine : suddenly Python 3 appears

2012-09-16 Thread Dale
Michael Mol wrote: On Sun, Sep 16, 2012 at 9:18 PM, Dale rdalek1...@gmail.com wrote: Michael Mol wrote: On Sun, Sep 16, 2012 at 8:24 PM, Philip Webb purs...@ca.inter.net wrote: We've been warned not to use Python 3 Maybe I missed something...but by whom? I think he means that we are not

Re: [gentoo-user] Kernel options and udisk

2012-09-16 Thread Dale
Canek Peláez Valdés wrote: On Sun, Sep 16, 2012 at 8:39 PM, Dale rdalek1...@gmail.com wrote: [snip] The important part is about 'if you are unsure about this, say N here'. Well, I don't think I need USB remote wakeup or anything so I don't think I need this but at the same time, udisk is

Re: [gentoo-user] Kernel options and udisk

2012-09-16 Thread Pandu Poluan
On Sep 17, 2012 10:21 AM, Dale rdalek1...@gmail.com wrote: Canek Peláez Valdés wrote: On Sun, Sep 16, 2012 at 8:39 PM, Dale rdalek1...@gmail.com wrote: [snip] The important part is about 'if you are unsure about this, say N here'. Well, I don't think I need USB remote wakeup or anything

Re: [gentoo-user] Kernel options and udisk

2012-09-16 Thread Dale
Pandu Poluan wrote: Kind of off-topic, but... For backups, I prefer a bunch of disks in a RAID configuration. After all, what good is an online backup system if the data becomes corrupted without me realizing it... I heard QNAP makes good ones. Or I can always make an LVM-based one,

Re: [gentoo-user] Kernel options and udisk

2012-09-16 Thread Pandu Poluan
True... Had I only one computer, I would've gone the USB 3 route... 2 ext HD, I backup to one for one or two weeks, then deposit the drive to an off-site location, swapping it with the other HD, and use the second HD for the next period. Problem is, using a USB drive means I have to move it