General :: Does Scheduled Reboot Of Server Improve Performance?
Nov 12, 2009I just want to know if a linux server got rebooted after a scheduled time(2/3 month), whether the performance improves. If improves why.
View 1 RepliesI just want to know if a linux server got rebooted after a scheduled time(2/3 month), whether the performance improves. If improves why.
View 1 RepliesI have written a script as follows which is taking lot of time in executing/searching only 3500 records taken as input from one file in log file of 12 GB Approximately. Working of script is read the csv file as an input having 2 arguments which are transaction_id,mobile_number and search the log file having these two strings with one more static string that is "CustomCDRInterceptor",then format the searched data in prescribed format.
Code of script written is as follows:
Code:
Sample data of input file will be like :
Code:
Sample Data in log file is as follows:
Code:
I'm using mplayer and libcaca on Gentoo. My framebuffer (uvesafb) is running at 1920x1200 (I don't know how many characters that is) and mplayer has problems filling up the screen, so video and audio lose synchronization.
View 1 Replies View RelatedBasically I'm wondering if there is any way to lighten Gnome and Ubuntu I would like to keep Gnome if possible. I am a pretty experienced linux (or for you hardcore GNU fans GNU/Linux) user having used it for almost 4 years and I just built my Arch system but have found that alot of the functionality that I've come to love about ubuntu isn't in the default Gnome package but that Ubuntu's Gnome is heavily modified so I want to switch back but do to my lack of modern hardware I can't run Ubuntu as smoothly as I want.
Below is my current hardware.
Code:
Intel Pentium III 733mhz
512mb of ram
8gb Hard Drive
and a Dvd Drive
Nvidia Geforce 6600 265mb pci gpu
100 watt power supply
I am also a Developer so I know I can compile the Kernel my self and remove some not needed junk and optimize it. But I was wondering are there some Highly intensive processes that don't really need to be running? The only thing I would be using Ubuntu for is Web Browsing, Coding, Gimp, Text Processing and probably Music; thats really all I need I don't do much else besides that.
tl;dr:
Basically all I'm trying to do is lighten Ubuntu and Gnome without putting 3 days worth of work into it.
I am running a ubuntu desktop machine as a server and use VNC from my windows machine to login via a LAN to the ubuntu machine. The login session is very sluggish and frustrating. I installed gnome-rdp to see if it would be better but I don't know how it works or what to do and if there is something else I can do to improve the performance. I have 3 gig of ram and the server is a dual celeron machine
View 9 Replies View RelatedI have got a Radeon X800XL built in my computer. I was able to play Quake 4 in high details once, so I guess my PC is quite fast. Anyway, I have trouble playing Anno 1503 and SuperTuxKart (sic!). While Anno 1503 is fairly unplayable, SuperTuxKart has got around 30 to 90 fps, depending on the situation. In my opinion, that's way to less.
My question is: How could I improve the 3d performance, to be able to play such legacy games as Anno 1503? Therefor I'll give you some information about my configuration and what I tried so far.
I run Ubuntu 10.04. That means, the driver provided by AMD/ATI (fglrx) does not work anymore. My Ubuntu is up to date.
I set the kind of graphics card and the graphics ram in the Registry of Wine. Disabling the compiz-fusion-effects does not improve the situation however.
I disabled KMS. That gave an amazing performance boost, but still not enough. I am still experiencing performance troubles like being unable to play Anno 1503, and some others.
I also created a Xorg.conf, trying to tweak some settings, but that does not improve the performance much. The config file is attached below.
How to improve or accelerate the 3d-performance. Maybe there is an beta-driver or some xorg-settings I did not find?
Kernel:
Code:
Does anybody know more tips and tricks to increase visual performance besides these?:
Got it from:[url]
The first made minimizing windows a lot quicker.
I was using centos for my business applications and now I am trying to work only with opensuse and install my other oprerating systems in it. I was always using vmware , but I decided to try another virtualization technologies other than vmware for testing , I searched the internet and found many other like virtualbox , kvm , xen. I concluded from my search that xen and kvm will be the faster type , I decided to test them, I choose xen, it is better than kvm. I installed opensuse 11.4 and installed xen hypervisor deployed two VMs windows xp and centos 4.8 , they are runing quite good but I have some questions:
1 : Isn't there anyway to improve graphics performance in xen guest , or change the video card memory or type ?
2 : Isn't there any way to copy and paste between the host and guest ?
3 : Isn't there any free application like vmware tools or virtualbox guest tools for xen ?
4 : I use these VMs to install some applications for my geophysics work which requires good graphic performance in the vm , also I don't them to be sluggish sometimes , which is better for that vmware or xen ?
So I have built a program that takes a picture from two cameras every second and converts them both to jpeg format. The problem is that currently it takes ~2 seconds to convert a single raw photo to jpeg format, thus every second I add another raw photo (30 MB) to ram waiting to be converted to jpeg. So, theoretically the conversion to jpeg is running on a single core with hyperthreading, would I see better performance running the exact same process (a program pulling from a queue and converting to jpeg) running as a single process, or two concurrent processes? (both processes running on the same core, (so 1 thread on one clock cycle, the other on the other... (or one thread running on 1 core and the other on another core. What other steps would you take to improve the performance so there would no longer be a race condition?
-Currently using QT
I have a Gateway Laptop which is dual-booting Windows XP SP3 32-bit and Ubuntu 10.04, also 32-bit. The 64-bit version, would not install on my computer, even though the computer has 64-bit capabilities. It doesn't bother me that I use the 32-bit version, but something it is now doing seems to be affecting the way things work on my laptop. The computer has 4GB of RAM in it, an AMD Turion 64 X2 processor, and an ATI Radeon X-series graphics card. The monitor has HDMI capabilities. On the Windows side, it handles full-screen programs and operates very quickly. On the Linux side, I can also run things quickly. However, most programs on the Linux side are much slower-running than they would be on the Windows side.
Something I notice when my laptop goes into fullscreen on the Linux side, is that the color quality goes way down. You can see that it is trying to run in apparently 256 colors, and each individual pixel is very visible. It does not do this on the Windows side. Also, programs that I run on this half of the computer are very laggy, slow, and inefficient. I know that my computer has the video and processing power to handle these programs with ease, but it isn't utilizing all of it. How can I make Ubuntu run at a higher speed overall, by taking advantage of all four gigs of RAM and this 2.4 GHz Turion processor to run everything like Windows does?
I'm trying to do a partition alignment on my main SSD to improve SSD performance and then install Ubuntu on the SSD. I can do the alignment with no problem but when I install ubuntu the alignment is erased. Is there a way to install ubuntu without getting rid of the alignment?
View 2 Replies View Relateddns cache serThis is probably more of a network question but I figured some one who is a network expert might know. Currently my organization has DNS servers. But my questions is would setting up a cache server improve the performance any? When I first thought about it i thought probably not. But since it stores information in ram that made me think maybe it would improve network performance a little.
View 3 Replies View RelatedIs there any possible way to keep my CPU frequency scaling on PERFORMANCE mode through a reboot? Ubuntu likes to default it back to ONDEMAND all the time.
View 5 Replies View RelatedThere is a tool appeared in repository called ktune; The purpose is to adjust some sysctl.conf settings to improve server speed on servers with heavy load. What is this tool for if one can achieve the same with the configuration file added to system startup? Or ktune is just such file?
View 1 Replies View RelatedI have webmin on my linux server, I've made a cron job which requires a password to be entered after the command has been run.. all good. I noticed the cron job has the option "Input to command", where after many hours googling a can assume this is where you type input after the cron job has run (for example, a password?). I have tired putting the password needed for the job (the cron job is an ssh root@address) into this field however the output when running the cronjob is saying "permision denied" still.
Is there some sort of character I have to enter in this field, like
-p mypassword:
or
*mypassword?
or
"mypassword"
is there any way to scheduled cache clear auomatically instead of manual in squid.
View 1 Replies View Relatedi am using apache 2.2.16 version.. i want to improve my concurrent users..
View 5 Replies View RelatedI've got an amazon EC2 instance running Natty 11.04. I want to harden this server and make sure it's very secure as I ultimately will be handling sensitive data. I'm wondering what should be in /etc/apt/sources.list. Can anyone comment on these contents? Or, better yet, recommend a good secure sources.list file?
Code:
## Note, this file is written by cloud-init on first boot of an instance
## modifications made here will not survive a re-bundle.
## if you wish to make changes you can:
[code]....
I am administering a live web server i want to keep a backup of the access log file without disturbing the server performance. can anyone guide me how to to this. the size of teh log file run in GB so i will need to take a daily backup
View 7 Replies View RelatedI run a Fedora 9 server at home, to host an "old school" MOO.To back up the database, I scheduled a cron job - and got some help with the script.I don't fiddle with stuff on the server much, because I don't really have a clue - leave well enough alone.But now I'm without backups. (I'd prefer to get this working, as it seemed pretty simple, and worked well for so long).
View 14 Replies View RelatedGot a small problem, I'm trying to schedule a script to run every Thursday at midday and the scheduled tasks application on Ubuntu doesn't seem to work. The script is fine when I run it from a terminal.I have zero experience using cron at the command line, can anyone tell me what I should do?
View 2 Replies View RelatedThe back.sh script is being run as user basil, whcih means that when it comes to copying the backup file to the target location you do not have the correct permissions to access the contents of the directory (it is rwx by root only).So, what do we do? Hoping it is ONLY the directory permissions which are fouling things up we have a range of options which, in not particular order of 'good', include:
a) change ownership/permission on target directory.
b) have the back.sh script run by the root user
c) set up sudo to permit the file copy to be done by root
d) use setuid on the back.sh to have it run, effectively, as root
A lot of the answer will depend upon what else the Dropbox directory is for. If it's JUST for your backups for this then I'd be inclined to:
Code:
chown basil /root/Dropbox
chmod g+rwx /root/Dropbox
which will permit the basil user full access and thus allow the file operations being done and give root access via the group permissions (not that the root user really needs this).Also, I'd be inclined to:
Code:
chown basil /home/xxxx/moo3/bin/back.sh
chmod u=rwx,g=rx,o= /home/xxxx/moo3/bin/back.sh
which will make things 'look' better, it just reinforces the point that the script is run (and owned) by the basil user.
I need to make a scheduled backup of repository of subversion in ubuntu. E.g., backup the repository at 13.00 pm every Monday. May I need to write some hook scripts to do that? And I also have to recover the backup of repository. If possible, I want to backup the trunk of repository
my repository is project1
/project1
/trunk
/tags
/branches
I have a script(urls.sh) scheduled to run with Crontab at every hour. The script is all good and executes manually with [root@server cron.hourly]# ./urls.sh But the scrip is not executing according to schedule. This is what I see in /var/log/cron every hour:crond[4729]: (root) CMD (run-parts /etc/cron.hourly/urls.sh)My crontab look likes this:
SHELL=/bin/bash
PATH=/sbin:/bin:/usr/sbin:/usr/bin
MAILTO=root
[code]....
There is one little thing annoying me in man pages. When I search for text using '/' command the line where the text is found is positioned at the top of the screen. I find it inconvenient because when I search for text I want to see it in the context which also includes the a couple of lines before the found text.Is there a way to tell the man pager not to scroll the screen all the way to the top during search?
View 3 Replies View RelatedI have installed Nagios Core 3.0 (latest version) and currently monitoring more than 80 hosts (servers, desktops, routers and switches).
Everything is fine but status map options are very few and you cannot customize them. all the views are very wierd.
I am trying to use NEXSM but it seems some complex. good solution to imrove the nagios status map.
I login to my server and when I open new console I get:
-bash: /etc/profile: Input/output error
-bash: /root/.profile: Input/output error
and nothing is working I tried to reboot or top command but not working also I can't open SFTP the server says The server has rejected the SFTP request.
I have a question about viewing HTML emails in the Evolution mail client. Basically, I am receiving some emails that look lovely in Thunderbird but not in Evolution because the HTML rendering of Evolution isn't as advanced.Here is a screenshot of the difference: how to improve the HTML rendering of Evolution? e.g. a plugin, tip, code patch, etc. The closest I've got is to right-click the email, "Save As...", save as a html file, then open in Firefox. Not exactly streamline!What emails can't it display well? We use the subversion revision control system which is set up to send an email whenever someone commits via svnnotify all nicely coloured via the --handler HTML::ColorDiff -d parameter. When Evolution fails to use the colours, I find it very hard to read the raw diff.
View 1 Replies View RelatedI recently installed Ubuntu on my MacBook and it's great. The only problem is the Internet speed... on Mac OS X it is much faster which doesn't surprise me because both have been optimized to run fast.
I was wondering if there was a driver, or similar, that would improve the speed for Ubuntu?
Can anyone tell me in performance tunning of apache-tomcat and jboss application server?when I deploy some application in apache-tomcat the performance is say 100 users per second and incase of jboss it is even worst (35-40 users per second)i want to improve my performance 1000 uesrs per second..
View 1 Replies View Related