Ubuntu Servers :: Web Servers Cranking While DB Server Is Almost Idle
Aug 7, 2011
I own a rather large website/forum devoted to Scuba utilizing vBulletin. The problem is that its become INCREDIBLY slow as of late. I have three Ubuntu web servers under a single Ubuntu load balancer and they draw from a CentOS 5 DB server running MYSQL. Here are my concerns:
-I am thinking that they are all 32 bit rather than 64 bit.
-I am thinking that the problem is an IO issue.
View 9 Replies
ADVERTISEMENT
Oct 12, 2010
I've Ubuntu Server 10.04 and am just using the terminal, no GUI like Gnome. So far it's working pretty great except for one big thing.
Whenever I go to sleep and there's no activity on my servers (it's not a big site so active users drop to 0 during the night), the server kind of disconnects. The only thing that can bring the site back online is to restart the whole server. I've tried disabling powersaving by using setterm but that changes nothing. Even if I wake up the server by pressing any key or so the site wont go back online!
I've tried just restarting both Apache and MySQL (I'm using LAMP-server btw) but not even that works. But as soon as I turn the power off and on at the server, everythings work like normal for a couple of minutes of inactivity (~5-15 minutes I'd guess) and then it's down again unless someone logs in to the site and is active.
View 1 Replies
View Related
Nov 26, 2010
I am having a problem with the server that I use to host my personal site. The load average quite often spikes to exceed 1.00 for the 1 and 5 minute intervals, and the 15 minute interval gets above .5. This occurs while the server is idle, serving very few or no requests and with the CPU 99% idle with <1% IOWAIT usage. I have checked top and vmstat, but neither one provides any useful info. Top continues to say the CPU is 99% idle, and vmstat says that there are 0 runnable and 0 blocking tasks. Occasionally, vmstat will say that there is 1 runnable task, but this doesn't even coincide with the load average spikes. I have already searched for other solutions to this problem, but everything I have seen says to use top and/or vmstat, but those aren't showing anything out of the ordinary. Can anyone recommend anything else I might do?
My server has a Pentium 4 HT 3gHz processor, 2GB RAM, and runs Kubuntu 10.10. (The reason it runs Kubuntu instead of Ubuntu Server is that it needs an X environment so that the Nvidia driver can initialize and put its graphics card into a power saving mode.)
View 8 Replies
View Related
May 10, 2010
i found this video, and i really want to do the same. *newbie needs to learn [URL]...my question is, what need to be installed and how?
is there any specific configuration to make it works?
and will it work if i want to connect from Ubuntu to Fedora ?
View 1 Replies
View Related
Apr 1, 2011
I'm curious if anybody can shed some light for me in this department. We're in a large environment with a Windows DHCP Server. We have been tinkering with LTSP on Edubuntu as thin and fat clients. It works great, but right now we just have 1 server handling the lab, which works fine unless we want to expand, which may be very possible.
These are the instructions I received:
Login to your windows server and load the DHCP configuration screen
Create a DHCP reservation for the MAC address you obtained
Add the configuration options below to enable the machine to boot from the LTSP server
017 Root Path: /opt/ltsp/i386
066 Boot Server Host Name: <ip address>
067 Bootfile Name: ltsp/arch/pxelinux.0 # Specify CPU architecture in place of 'arch', for instance 'i386'
From: [url]
I'm curious, what if I want to have multiple Ubuntu servers on the network that I want to have bootable? For example, let's say I have 3 labs, and 3 servers. Server A to Lab A, Server B to Lab B, and Server C to Lab C. I want all C's computers to boot to C, and B to B, A to A, etc.
1 - How would I add multiple entries on the Windows DHCP Server to allow all 3 (A B C) servers to boot?
2 - How would I be able to isolate the clients so ONLY Lab A clients boot to Server A, etc?
View 7 Replies
View Related
Mar 23, 2010
My computer's fan speed seems to be stuck at one speed, which, when I set the CPU scaling to "Performance" for transcoding a video or something, causes the temps to shoot way high because the fan doesn't speed up. Is there a command or a script I can get to fix this? I'm using Toshiba Satellite L355D-S7829. I'm not looking to recompile a special kernel or anything, I just want this to work before I forget to keep an eye on my computer and fry it.
View 5 Replies
View Related
May 25, 2011
I am looking for a version of vmware that manages 2 severs at the same time and that mirrors them such that if one goes down we can still work on the second and of course it also works as a backup. Also, must work on a ubuntu server I have looked but there are so many version that I don't know which one is the best.
View 1 Replies
View Related
Mar 4, 2010
(Mods: If you feel this belongs more in the Games or Wine discussion area, please feel free to move. This question does intersect many areas, so was unsure where to put)
I have a funky server Ubuntu 9.10 Enterprise setup where I have X on all the time (using Xfce4 - not Xbuntu) with latest wine so I can run Windows only based game server executables. One of the applications is a simple dedicated racing game server made by the company I work for that works perfect in wine (unfortunately, the full 3D game client does not, so its a windows only game). The other is more just to test, runs Serious Sam HD dedicated with wine with a steam client active in background since SSHD Ded requires a steam client logged in (just create a dummy account).
Im getting some lag issues with the SSHD on the end-users client side. Unsure if its related to it being a more complex game and using wine to translate slowing it down. Things like tiny warps once in awhile, and the ping of clients kinda jumping around.
Im pretty sure my network settings are ok. Maybe not fully optimized for every bit via ipv4. Still though. This 1U Opteron server is in a ISP with a full 1000 up and down. Ports are locked out that aren't being used. I do have apache going, but its nothing strenuous. The CPU isnt used overly so. Maybe peaks out around 60% under strain, but mostly 20-40%. Memory use is about 550-700megs for SSHD itself. Given, it only has 2 gigs total at this time, but I still usually have near a Gig of memory available at most times.
I admit newbness of linux servers in general. Was reading about other game servers like CS:S requiring a ticked kernel near 1000 to get the least amount of lag. Some even saying they dropped the tickless options of the newer 2.6 kernels on purpose because they produced lag. Was checking on the history of newer Windows Server like 2008 and they still use a ticked OS, though a more optimized version.
So this boils down to should I be running a Ticked OS kernel to run a more complex Windows based dedicated server? I haven't tried thus far, well because I am again a bit of a n00b to all this. That and I'm not sure you have to tell wine or the SS:HD dedicated exe itself to run at a full ticked rate (no option I have seen for a command line function in the SS:HD itself).
View 2 Replies
View Related
May 3, 2010
I have Webmin installed on an Ubuntu server. I currently have a successful apache server running on port 80, however I want to create a virtual host on port 81. When I try I go to servers->Apache Webserver-> Create Virtual Host I change the port to 81 and the document root to /var/port81www then I click create. How ever when I goto 192.168.1.5:81 (local ip, I know I have to port forward but its not even working local) it does not work.
View 5 Replies
View Related
May 26, 2010
I handle several hundreds of domains. Mails are handled with google apps (but previously I used to have a full postfix/courrier setup with virtualhosting). Now what I need is to be able to send mail (newsletter etc...) from my web servers, but I don't need to receive mail on these servers.
View 4 Replies
View Related
May 29, 2010
I got my hands on a couple old servers. An HP tc2021 and a Proliant ML110. Sure they're ancient, but I thought they would make a couple of great Ubuntu Servers for a new "start up" business I'm trying out. Now I've got to decide the best scenario to distribute the load between the two servers. I'm going to make an internal domain and will probably be running the following: Kerberos, Samba, Apache, Postfix, mysql, bind, dhcp, SVN, GCC, and Nagios. So in summary, I'll have the following roles; domain controller, web server, file server, and network monitoring services. how they would handle splitting these services up between two servers?
View 1 Replies
View Related
Sep 5, 2010
I am running apache2 and tornado web servers on the same server with one ip address.
The apache2 listens on port 80. Tornado listens on port 8888. I want to redirect requests from a specific ip port 80 to port 8888. I don't have the ability to change the port request on the device. It wants is looking for a web server on port 80.
Any other web server request should go to the apache.
I tried adding the following to /etc/ufw/before.rules
When I run iptables -L it doesn't appear. I have disabled and enabled ufw with no help.
View 3 Replies
View Related
Oct 30, 2010
Now that I have more computers I am looking at new solutions to manage the proliferation.My Linux machine has been replaced and its now much more powerful than before but its still a 32-bit processor. No problem as I am not using anything unorthodox outside the LAMP stack with a few PHP add-ons to support graphics.I use SAMBA so I can edit web sites easily with Windows tools.So now given a Windows Server, who should be king server and have everybody on the same page so to speak.
View 7 Replies
View Related
Mar 24, 2011
We have 5 servers here. What we are going to setup is not a Web server. We want to combine these servers to parallel calculating. I have searched for some information. May be cloud computing would be our choice. I don't know whether I am right.and if I decide to use the cloud, is Ubuntu server my best choice?Can anyone give me some clue about this?
View 4 Replies
View Related
Apr 28, 2010
I'm trying to build a Fedora 12 cluster to run DHCP on top of two servers using pacemaker and drbd. The pacemaker runs great but i'm having the hardest time getting DRBD installed.
My kernel version is 2.6.32.11-99.fc12.i686.PAE First i tried to [root@dhcp-primary drbd]#yum install drbd this doesn't give me everything because apparently the kernel module for DRBD must be built from source. so i unpacked drbd-8.3.6.tar.gz and tried :
[Code]...
I'm not very experienced in compiling from source i'd love to make an rpm for this but after scouring the web and trying different install methods, I am still at a loss.
View 2 Replies
View Related
Mar 22, 2011
When I run top d 0.5 on my machine and I press 1 to enable the SMP View, I notice that all of the CPUs keep toggling between 100%idle and 0% idle.
The odd part is that when a CPU goes to 0.0% idle, I would expect to see one or more of the other columns peek, but they are not.
What is causing this?
Code:
View 8 Replies
View Related
Feb 2, 2010
Last weekend i've set up my first headless ubuntu home file server and torrent downloader with ubuntu 9.10.Very cool but CPU is way too fast for a home server: P4 HT 2.8Ghz, unfortunatly it has only 256Mb of ram, so no X server and no VNC (old HP office pc) At the moment memory usage is only 40Mb without X server. Besides SSH works just fine Few questions i can't seem to find answers to on google:What is a good CL network monitoring program?mething similar to htopUbuntu 9.10 has a lot, about 20-30, console-kit deamon instanses running after boot each using some memory that i can't spare.
View 2 Replies
View Related
Nov 24, 2010
I want to install a DLNA server on my ubuntu home server. It will primarily be used for photo browsing on my PS3, but general media support would be nice. (I use Squeezebox server for music.) What are my options, and what are the main difference between them.
View 9 Replies
View Related
Jan 7, 2011
I am merely trying to change the port for my ssh server.However it isn't changing.I edited my ssh_config file to:
Code:
# This is the ssh client system-wide configuration file. See
# ssh_config(5) for more information. This file provides defaults for[code]...
When i try to connect to my server via port 443 i get a connection refused error. However when i try to connect via port 22 it connects. Since that didn't work, i tried restarting the entire server.To restate, i changed the config file and restarted ssh then the computer, however the port didn't change.Ohh and yes my router is set to port forwarding on port 443, though it doesn't matter since I'm inside the network.
View 2 Replies
View Related
May 22, 2011
Does anyone have some material about statistics using ubuntu / linux server, or a text which generally describes the ubuntu server?I need urgent, i'm writing specialization work about administration apache and ftp server on ubuntu 10:10 server, so I need something for the conclusion.
View 7 Replies
View Related
Dec 7, 2010
I and setting up a home web server using Ubuntu 10.04 server (local only). I am currently using Webmin 1.53 to access it remotely all is going great very easy to use. Webmin - Check, ftps-fileZilla - Check, Apache -It Works BUT I cant seam to set up Apache as a named server using Bind DSN. Tried most of the help in the fourms and ..... I think my problems is in the master server selection, do i have to use [URL]... or can i just use myservername. I have tryed both with no luck. First time with the server addition.
[code]...
View 6 Replies
View Related
Dec 8, 2010
In trying to help our office modernize its IT infrastructure, one of the key components is maintaing our server. We have around 50-60 people who need access to a local server primarily for secure general file storage. These employees are geographically dispersed. We currently use some(?) version of Windows Server which is maintained and updated by a IT company we keep on retainer. After doing some very basic research on Ubuntu Server, I would like to try and incorporate a pilot program utilizing the Ubuntu Server software.I was successful in installing Ubuntu Server on an unused PC that I put a clean hard drive in. I have been following the direction of the Official Ubuntu Server manual to assist in the server setup, and this has progressed my cause up to a point.
Can I run an Ubuntu Server alongside our current Windows server without bring everything to a screeching halt? Additionally, I am the only mac computer in an office filled with varying version of windows. I have begun to configure samba but need some direction from the community as to updating the workgroup so my mac can connect to the Ubuntu Server. What do I need to put in the workgroup part of the /etc/samba/smb.conf directory?I have no doubt there will be face palms by the community after reading this thread, but I am trying my best to teach myself the Ubuntu way.
View 2 Replies
View Related
Jan 19, 2010
I currently have a group of 3 servers connected to a local network. One is a web server, one is a mysql server, the other used for a specific function on my site (calculation of soccer matches!).
Anyway, I have been working on the site a lot lately but it is tedious connecting my USB hard drive to each computer and copying the files. This means I am not backing up as often as I should...
I have a laptop connected to this same network that I use for development so I can SSH into to the computers, is there any software for ubuntu that can take backups of files that I choose on multiple computers? I know I could rsync but is there something with more or an GUI?
Then I can just every 2 days move the most recent backup from my laptop to the USB drive. Then I will have the backup stored in 2 places if things go kaboom somewhere.
View 9 Replies
View Related
May 20, 2010
I'm running Ubuntu Server 10.04 and have a secure (SSL/TLS) FTP server on it. However, I'd like to use this FTP server to update programs I made using Microsoft Visual Studio. Unfortunately, in Microsoft's infinite wisdom, secure FTP servers cannot be used. Rather than use an insecure FTP server, I want to set up my secure FTP server to be able to access whatever I need to on the machine, and then add an insecure FTP server that only has access to the directory where I put my update files. I am currently using vsftpd as my FTP server. Is there any way that I can set up two FTP servers on this single machine?
View 6 Replies
View Related
Oct 1, 2010
I wonder if other people have this problem. sometimes I need to duplicate most or all of a server from one machine to another. part where I most tend to have issues is with recreating the users. Sometimes the UIDs don't match up because of differences between the two systems, which gives funky results, like files owned by the wrong user.
Or, sometimes, I just need to create the same 10 users on x number of machines, and it's tedious to do this 10x times. Plus, then, if you need to change a password or delete a user, you have to do it x times.Any recommendations on how to centralize users/auth?
View 3 Replies
View Related
Oct 28, 2010
I'm going to be setting up a couple of servers for some friends. I'd like them to be able to email me some information after they do some maintenance scripts via cron. I got my own server to send email using a tutorial I found but that involved using my personal gmail account. getting email sending working on ubuntu server with minimal fuss and account credential exposure?
View 2 Replies
View Related
Jan 12, 2011
Removed the thread; figured out that this does work in the zones config:
<Record you want redirected to another nameserver><tab>IN<tab>NS<tab><name server to redirect the query to>
View 1 Replies
View Related
Jan 24, 2011
Ive been asked by my boss to set up a ubuntu machine that will be used as a syslog server. He wants a GUI as a posed to a CLI. He would also perfer to have it non web based. We already have cati installed but he is not keen on the syslog side of that. Does anyone know of any other syslog programs?
View 1 Replies
View Related
Jan 30, 2011
Is it possible to run two servers through one ip address? And I don't mean through apache to run virtual servers. Right now my set up is: Cable modem>router>server.
View 9 Replies
View Related
Feb 5, 2011
I have the system setup and working, but I want to put it in a corner and forget about it. Problem is, nothing starts running unless I'm logged in. And if I log out, everything stops again.It's running a LAMP server and has VNC and SSH servers as well. I want all of that to start without having to log in. That way I can remote reboot without worries and connect and login with either VNC or SSH.Everything seems to have an entry in /etc/init.dIs the way it's acting normal behavior? It's a fresh install, then I installed everything I needed from the repos.
View 7 Replies
View Related