I've been having problems with X for about six months now. I've browsed the fourms and asked around, and I've seen people with similar problems, but none of their solutions work for me. X uses up a lot of memory. It starts off fairly small, but keeps growing until it's using almost all of my 2GB and quite a bit of my 4GB of swap. Eventually it segfaults (see the attached log). I'm guessing that the memory usage and the segfault are related because it never crashes right away; only after using the majority of my memory does it crash. My problems seem to have started when I switched from a 2 monitor twinview setup to a 3 monitor xinerama setup. I have 4 monitors now and the problem seems worse than ever (see the attached config file). I've observed that when browsing large collections of images, X's memory usage skyrockets. I usually use Konqueror to browse images, but I don't think it is specific to Konqueror because I've noticed the effect with other applications. I have the memory problem on both Kubuntu and Arch Linux, but the segfault is unique to Gentoo. I used Arch for about five days without a segfault, but on Gentoo X segfaults at least once per day. I'm using version x11-base/xorg-server-1.5.2 of the server. Possibly related: from time to time, X simply ignores the mouse button input. I.e. I can move the cursor around, but it won't listen to mouse clicks. I don't have this problem on Arch.
Created attachment 173295 [details] log of the segfaulted server
Created attachment 173297 [details] xorg config file
What if you use twinview instead of xinerama? Thanks
Please don't hesitate to reopen this bug after testing what I suggested in comment #3. Thanks