xbaez
January 6th, 2010, 11:51 AM
Hello. I am enjoying using Ubuntu but I have one question.
I recently rented a CentOS for around 6 months, and the glibc package was broken
Therefore, every now and then, apache would say
******** glibc detected ***************
and apache would leak memory like crazy and in 30 seconds the load would go from 4 to 120
so I developed a program that checks the load every 30 second and stops/starts apache, mysql, lighttpd... based on the load
Anyway, I did some research and finally found that glibc was a faulty package on Red Hat, and since CentOS is a RedHat clone, yum updated this faulty glibc (automatically or when I installed a package, I don't remember)
The 'solution' was to download CentOS 5.2, and install the glibc package in a 'forced' mode.
Now, I tried to download CentOS 5.2 and they are not allowing people to download that version anymore (since they want you to download CentOS 5.4)
So the solution was complicated
find a new server (I requested Ubuntu 9.10)
rsync all the files
Now, I can say I am happier with Ubuntu and my new server, installing the latest versions of httpd, Zend library, MySQL, php5, lighttpd... were easier
However, one time I checked the error in apache logs, and I saw that
**** glibc detected ********
error
I checked the load and nothing happened, and the rest of the httpd process continue to work normally (I'm using the standard httpd with prefork)
in CentOS, when the
**** glibc detected ********
error happened, apache would 'hang' and start consuming memory like crazy
So my question is:
1) what causes this glibc detected error?
2) how can I make sure Ubuntu runs without any automatic software update that might break the current software?
3) for the benefit of the Linux community, do you think we're over complicating things by having packages for every distribution?
for example
if I want to download WinRAR for Windows I choose 32bit or 64bit, and then I download that
Now, in linux, I have to chose
Debian
Ubuntu
Mandriva
Fedora
openSUSE
Gentoo
Slackware
FreeBSD
Arch
and it gets confusing
for example Skype, I can download it for Linux debian, since it comes already in .deb
Now, I can install that .deb file in Ubuntu (or Debian, if I'm using Debian)
However, I can't use a Debian repository in Ubuntu (even though they are .deb files)
So Debian and Ubuntu both use .deb files, however some files are compatible, some files are not (and adding a Debian repository to Ubuntu is not recommended)
So in Windows, you usually download the EXE file, and that's about it
so is there any way in which we could all make an 'official' way in which Linux installs software?
I changed distributions because of this, because Ubuntu has better repositories and better software than CentOS (CentOS is a clone of RedHat, so if RedHat fails, CentOs fails), so it should be more stable
Now, if all Linux distributions will use a unified system
glibc will be good, for any Linux distributions
Anyway, if you can read this post and just answer my 3 questions, I'll appreciate it :)
I recently rented a CentOS for around 6 months, and the glibc package was broken
Therefore, every now and then, apache would say
******** glibc detected ***************
and apache would leak memory like crazy and in 30 seconds the load would go from 4 to 120
so I developed a program that checks the load every 30 second and stops/starts apache, mysql, lighttpd... based on the load
Anyway, I did some research and finally found that glibc was a faulty package on Red Hat, and since CentOS is a RedHat clone, yum updated this faulty glibc (automatically or when I installed a package, I don't remember)
The 'solution' was to download CentOS 5.2, and install the glibc package in a 'forced' mode.
Now, I tried to download CentOS 5.2 and they are not allowing people to download that version anymore (since they want you to download CentOS 5.4)
So the solution was complicated
find a new server (I requested Ubuntu 9.10)
rsync all the files
Now, I can say I am happier with Ubuntu and my new server, installing the latest versions of httpd, Zend library, MySQL, php5, lighttpd... were easier
However, one time I checked the error in apache logs, and I saw that
**** glibc detected ********
error
I checked the load and nothing happened, and the rest of the httpd process continue to work normally (I'm using the standard httpd with prefork)
in CentOS, when the
**** glibc detected ********
error happened, apache would 'hang' and start consuming memory like crazy
So my question is:
1) what causes this glibc detected error?
2) how can I make sure Ubuntu runs without any automatic software update that might break the current software?
3) for the benefit of the Linux community, do you think we're over complicating things by having packages for every distribution?
for example
if I want to download WinRAR for Windows I choose 32bit or 64bit, and then I download that
Now, in linux, I have to chose
Debian
Ubuntu
Mandriva
Fedora
openSUSE
Gentoo
Slackware
FreeBSD
Arch
and it gets confusing
for example Skype, I can download it for Linux debian, since it comes already in .deb
Now, I can install that .deb file in Ubuntu (or Debian, if I'm using Debian)
However, I can't use a Debian repository in Ubuntu (even though they are .deb files)
So Debian and Ubuntu both use .deb files, however some files are compatible, some files are not (and adding a Debian repository to Ubuntu is not recommended)
So in Windows, you usually download the EXE file, and that's about it
so is there any way in which we could all make an 'official' way in which Linux installs software?
I changed distributions because of this, because Ubuntu has better repositories and better software than CentOS (CentOS is a clone of RedHat, so if RedHat fails, CentOs fails), so it should be more stable
Now, if all Linux distributions will use a unified system
glibc will be good, for any Linux distributions
Anyway, if you can read this post and just answer my 3 questions, I'll appreciate it :)