Server :: Prevent Flash From Running Threads In High Priority?

Nov 21, 2010

Prevent flash from running threads in high priority

View 6 Replies


ADVERTISEMENT

CentOS 5 Server :: High Priority - Apache Will Not Start

Nov 20, 2010

It is now almost 3 'o clock in the night here, last 5 hours trying to fix this problem. CentOS always runs perfectly here. I am not a genie with the terminal so wanted to install GNOME on my vps, than vnc but didn't work and did a restart.

Now got this:
Quote:[root@srv1 conf]# apachectl start
Syntax error on line 41 of /etc/httpd/conf/httpd.conf: Invalid command 'Order', perhaps misspelled or defined by a module not included in the server configuration

View 1 Replies View Related

General :: Video Prevent Screensaver When Flash Is Running

Apr 6, 2011

I apologize if this is the wrong place to ask, or if this has been asked before, but it has been bugging me for some time and I have not had any luck with it. I imagine that my problem is not unique to my circumstances, but here goes.I am running Arch Linux, and quite frequently watch videos, particularly flash, in fullscreen. However, eventually, the screensaver appears, and starts dimming the screen. I have the screensaver set to run whenever the computer is 'idle'. Does anyone know a way to either.Stop the screensaver from appearing when in a flash video or watching other video?Stop the screensaver from appearing when a flash video or normal video is full-screened? Heck, even..Let the screensaver know that my machine is not idle when watching flash.

View 1 Replies View Related

OpenSUSE Multimedia :: Pulseaudio: Can't Get Realtime Or High-priority Permissions

Nov 30, 2008

I can be granted permission, and I'm in the proper groups, but pulseaudio tells me I can't get permission.. I wanted to see if anybody else had this problem / knew of a solution / isolate whether it is a pulseaudio, policykit, whatever problem, before I post a bug upstream.

Code:
[Sun 07:25 AM] ~ $ rpm -qi pulseaudio | awk '/Version|Release/ {print $1$2$3}'
Version:0.9.13
Release:3.4
[Sun 07:25 AM] ~ $ groups

[Code].....

View 8 Replies View Related

Ubuntu Servers :: Run High-priority Multi-threaded Processes In The Background?

Apr 7, 2011

Using Ubuntu server 10.04.2 64-bit all up to date.

I am running multi-threaded processes. These use OpenMP in my own code and the multi-threaded ACML maths library. When run in the foreground, everything is fine i.e. if I have set

export OMP_NUM_THREADS=8

then when I start all 8 cores are in use and things whizz along. However, when running overnight and logged out using e.g. 'at now + 1 minute' then the command, I am only getting about 130% CPU and it slows down accordingly. I have tried renice'ing and calling from within a bash script in case sh is doing something odd but nothing seems to solve it. I am sure that in the recent past this wasn't the case.

The libraries being used are shared versions in case that might have any bearing.

View 1 Replies View Related

Server :: Running Apache 2.2.3 - High Swap Usage

Oct 2, 2009

I am running Apache 2.2.3 on a CentOS release 5.3 (Final) with 100 Sites. I've notice that Apache is making my server Swap around 200 MBs.
"http://www.xxx.yyy.zzz/server-status" doesn't show me too much to, so I am looking the behavior of specific httpd process.
ProcessID "18753" is the one for "http://www.xxx.yyy.zzz/server-status" in my browser.

This command show me (In KBs) how much virtual memory is that specific process using:
# /etc/init.d/httpd start
# grep Private_Dirty /proc/18753/smaps | awk '{ print $2 }' | xargs ruby -e 'puts ARGV.inject { |i, j| i.to_i + j.to_i }'
3012
... Running this command a lot of times it gives me the same output, but suddenly...
# grep Private_Dirty /proc/18753/smaps | awk '{ print $2 }' | xargs ruby -e 'puts ARGV.inject { |i, j| i.to_i + j.to_i }'
21708

Something make that process (and all the others httpd process too) to use a lot more memory!

Part of my httpd.conf:
# Timeout 120
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3

<IfModule prefork.c>
StartServers 5
MinSpareServers 5
MaxSpareServers 20
ServerLimit 256
MaxClients 256
MaxRequestsPerChild 100
</IfModule>

<IfModule worker.c>
StartServers 2
MaxClients 150
MinSpareThreads 25
MaxSpareThreads 75
ThreadsPerChild 25
MaxRequestsPerChild 0
</IfModule> #

My server is running Mysql 5.1.34, vsftpd 2.0.5, BIND 9.3.4-P1 (as slave). I couldn't found anything running in the specific time that httpd processes start to use that much memory.

View 7 Replies View Related

Ubuntu :: Prevent System Freeze Due To High RAM Or CPU Usage

May 1, 2011

I have been using ubuntu for 4 years now on my decent laptop with 2 Gb RAM, dual core centrino, etc etc. Yet, in all those years I have been using this superior OS, I still have to do hard shutdowns because some program runs wild. I have lately 2 scenarios where I have to interfere with the process:

1: amarok crashes and leaves the python script for the gnome shortcut keys running at 100% CPU. Or: thunderbird-bin keeps running after apparently clean close of Thunderbird. That's not really bothering me, I just kill both processes.

The bigger problem is scenario 2: 2: VLC starts eating all my RAM (for no reason), my SWAP starts filling and my computer becomes unusable for 10 minutes. Or: my matlab script is too big and eats up too much RAM -> same. Note: I have nothing against SWAP because at many other times it's very useful

These are stupid and annoying problems where there is an easy solution:

1) automatically kill the stupid process that runs at 100% CPU
2) automatically kill the stupid process that eats up all my RAM

View 1 Replies View Related

Programming :: Command For Seeing Number Of Threads Running?

Jun 8, 2011

IS there any command to see number of threads are running in a process .I have check ps -eLf but it wont show display for all the threads

View 1 Replies View Related

General :: How To Give Priority To Task Running In Cron.daily?

Nov 9, 2010

I have two custom tasks running daily. How do you give priority to one over the other?One of them is configured via the logrotate.conf. The other sits directly in cron.daily.I'd like the one in cron.daily to run after the script that is in logrotate.Please can you advise how to do this...

View 3 Replies View Related

Software :: Prevent Rsync From Running If Another Instance Is Running?

Mar 29, 2011

On my crontab there is an entry to run a script I wrote that backs up my local files to my remote server. It was working great, running once a day. However, I now want to make the script run every hour.The problem is that if there are too manyfiles to transfer (Example:I ripped a DVD in the last hour) the actual backup may take longer than 60 minutes.So I want to modify the script to check if my backup script, based on rsync, is running. If rsync is still running then do nothing and exit the script. If it is not running, execute the script as normal.

View 5 Replies View Related

General :: X: Warning; Priority Set To -1 Instead Of Requested Priority 0?

Dec 9, 2010

I have BT4 as an iso image and start it up by booting from cd, when i try the command root@bt~:startx it comes up with this fatal error. what can i do to get this work? and of course im new at this.

View 5 Replies View Related

OpenSUSE Multimedia :: Prevent Flash Capture Keyboard?

May 30, 2011

Is there any way to prevent Flash from capturing all keyboard input? I'm really sick of not being able to ctrl+l or ctrl+tab just because I'm watching a video, and today a video froze in fullscreen mode and I couldn't even ctrl+f1 to any terminals or ctrl+backspace to kill KDE. It would be awesome to stop flash from grabbing certain key commands and pass them to the browser or OS instead.

View 9 Replies View Related

Programming :: Server With 2 Threads Per Client?

Nov 25, 2010

In all the examples I have found the server accepts the client's conection, proccess the data received and close the socket. In an very schematic way it would be something like:

Code:

client_thread{
select to see if there is data to read from socket fd
if there is something to read{

[code]....

Should I use mutexs or semaphores to block the socket fd before read and write or it is not necesary?

View 4 Replies View Related

Ubuntu Multimedia :: Get A Studder From Flash When Put A Video On - Even If High Definition Or Not

Feb 25, 2010

I am like almost everyone, watching videos on ..... and I am having problems with flash. When I put a video on - even if high definition or not I still get a studder from flash. The video plays but it keeps chopping up and you can see on some frames how the next frame moves on the bottom of the screen and the previous frame is still stuck on the top. Flash does not run smoothly at all - that is on every video. I am suppose to be on the latest flash version for linux off of addobe.

View 4 Replies View Related

General :: Prevent RC Commands From Running?

Mar 17, 2011

I am running a shell script from a rc file in Linux. The shell script is going into a loop which runs for 8 hours. Now I want to prevent the shell script from running when Linux boots or I need to find a way to kill the shell script when it is running. I tried using killall, kill $! and Ctrl+C etc. Nothing seems to work. Can you suggest a way out. I am new to Linux.

View 2 Replies View Related

Slackware :: Firefox Bin Keeps Running With High CPU Usage

Dec 24, 2010

For some reason after I close firefox , firefox-bin keeps running and it eats more cpu than when firefox was open, a lot more. Same thing with seamonkey, seamonkey-bin keeps running after it is closed.
Attached are two pictures ,
1) While firefox is running: notice the low CPU usage
2) Firefox closed, CPU is almost 50%

View 4 Replies View Related

Programming :: Timings Of A Program That Uses 1-8 Threads On A Server That Has 4 D?

Jul 25, 2010

I am runig a program on a server at my university that has 4 Dual-Core AMD Opteron(tm) Processor 2210 HE and the O.S. is Linux version 2.6.27.25-78.2.56.fc9.x86_64. My program implements Conways Game of Life and it runs using pthreads and openmp. I timed the parrallel part of the program using the getimeofday() function using 1-8 threads. But the timings don't seem right. I get the biggest time using 1 thread(as expected), then the time gets smaller. But the smallest time i get is when i use 4 threads.

Here is an example when i use an array 1000x1000.

Using 1 thread~9,62 sec, Using 2 Threads~4,73 sec, Using 3 ~ 3.64 sec, Using 4~2.99 sec, Using 5 ~4,19 sec, Using 6~3.84, Using 7~3.34, Using 8~3.12.The above timings are when i use pthreads. When i use openmp the timing are smaller but follow the same pattern.I expected that the time would decrease from 1-8 because of the 4 Dual core cpus? I thought that because there are 4 cpus with 2 cores each, 8 threads could run at the same time. Does it have to do with the operating system that the server runs?

Also i tested the same programs on another server that has 7 Dual-Core AMD Opteron(tm) Processor 8214 and runs Linux version 2.6.18-194.3.1.el5. There the timings i get are what i expected. The timings get smaller starting from 1(the biggest) to 8(smallest excecution time).The program implements the Game of Life correct, both using pthreads and openmp, i just cant figure out why the timings are like the example i posted. So in conclusion, my questions are:

1) The number of threads that can run at the same time on a system depends by the cores of the cpus?it depends only by the cpus although each cpu has more than one cores? It depends by all the previous and the Operating System?

2) Does it have to do with the way i divide the 1000x1000 array to the number of threads? But if i did then the openmp code wouldn't give the same pattern of timings?

3)What is the reason i might get such timmings?

View 4 Replies View Related

Ubuntu :: Prevent Hibernation While Script Running?

Jul 12, 2010

Running 10.04 32bit. Is there a way to prevent hibernation from kicking in while a specific script is running?

View 1 Replies View Related

Ubuntu Installation :: Prevent Installer From Running?

Feb 12, 2011

I have a persistent usb key with Ubuntu 10.10 Netbook remix. I need to know how to stop the installer fro0m running on boot so that it just goes to the desktop

View 1 Replies View Related

Server :: Read Write Priority Samba Nfs

Sep 10, 2009

I have an HP GL380 with an MSA20 connected for storage space, we use it as an nas unit. The system is SLES 10. We use both NFS and SMB for file sharing, no special users and so. We are 8-10 users of the machine. We store both large and small files such at thumbnails and disk images.

Now, my problem. I�d like to give more priority for reading files on the server, so a user can look at pictures without problem, and if another user is writing an image file of an disk (10-1000 GB) this writing process should get less priority. The most important is always reading files, to get the job done.

View 1 Replies View Related

Server :: Swap Files Priority Values?

May 14, 2010

As mentioned in "man swapon" priority value is between 0 and 32767. BUT usually if we add swap devices without giving the priority, their priorities are set as -2, -3, -4 and so on; values which does not fall between 0 and 32767.Why is it so ? Any ideas ? However, I know we can change them through "swapon -p". But, if do not wish to do so, it uses -2, -3, -4 only. Like below,

Code:
[root@server ~]# swapon -s
Filename Type Size Used Priority

[code]....

View 2 Replies View Related

Ubuntu :: Laptop High Heat And Constant Running?

May 2, 2010

Just put a fresh clean copy of Lucid on the laptop. I have noticed this for a while on the otherr versions and distros also, and finally started looking at. My laptop runs, contantly.The fan seems to be always running. I don't have more the a couple of applications at time, I don't use it for work, so nothing extensive. Web browsing, music, email, photos. End user stuff. So I added a heat application in the panel just to see what was happening. I can get the temp down to around 150F-ish if I am not even looking at the laptop. But, open anything and start workingand I am sitting arround 183F-185F. Is this normal? I am just getting toired of having such a hot laptop on my lap, I even have a pad under it so the air can circulate witht the fan, but, a constant running fan is what I have and the heat can be felt through the pad if I am sitting for a couple of hours.

View 9 Replies View Related

Security :: Prevent Normal Users See All The Processes Running On The Box?

Dec 30, 2010

I've a Linux box with few users (with shell). I would like to prevent normal users see all the processes running on the box. How can I implement this?

View 1 Replies View Related

General :: NFS - System Is Running With A High Load - Iowaits And Low Responsiveness

Oct 31, 2010

After changing servers and moving things around, I have one system which serves the /home directories, and for some reason, it is extremely slow. I've looked for duplicate IPs, signs of a HW problem, etc. and cannot figure out why the system is running with a high load, high iowaits, and low responsiveness. The servers and clients are slackware 12.2 and 13.1 respectively.

View 3 Replies View Related

Fedora Security :: How To Prevent The Appearance Changing Window Running

May 21, 2009

I want to prevent users changing the wallpaper, as i couldn't found any direct method I thought of preventing the /usr/bin/gnome-appearance-properties being running,

I know that the user also can set the wallpaper without running that . But didn't found any other way .

I tried to use SELinux to it and I'm stuck at writing a own policy.

According to SELinux, it prevents everything ., but as i have mapped the user to a SElinux user ,even though he can use administrative tasks , he can run the appearance window. that means he has got the permission from a different policy , Currently I'm stuck at this place.

Suitable way to prevent the wallpaper being changed by the normal users.

View 1 Replies View Related

Ubuntu Installation :: 10.4 Upgrade, Xorg, Cpu, Fans Gone Nuts Running High/low?

Apr 28, 2010

I upgraded my Asus Eeepc 900a to 10.4 yesterday. Since then, Xorg has averaged between 30-40% CPU, and my fans have gone nuts running high/low/high/low, ad nausium.

Any ideas what might be going on? Another clue perhaps: on reboot or shutdown, I get a "program not responding" message with "unknown" as the hung program. I have not been able to determine what this program is or if it is related to the hyperactive Xorg.

View 9 Replies View Related

General :: Xorg High Cpu Usage System/video Not Running Smoothly?

Feb 18, 2011

I have just started to have a problem with Xorg it is always using at least 30% of my CPU, and the whole system does not run smooth so if I play a video it does not run smooth, it judders, also even if I drag an icon it judders across the screen. Im running Ubuntu 10.10 2.6.35-25-generic x86_64 VGA compatible controller: nVidia Corporation G98M [GeForce G105M] (rev a2)

View 5 Replies View Related

Server :: Build A Redundant, High-availability File Server System?

Mar 23, 2010

I am kinda stuck while providing solution for the above problem. I have achieved the fail over using keepalived but not sure how can we replicate the data from one server to other seamlessly and have them in sync with each other. My prime requirement for this project is end user should not notice the fail over and replicated copy of data should be available on the secondary as well.

View 3 Replies View Related

Server :: Any Way To Prevent Fork Bomb On Server

May 1, 2010

I wanted to know is there any way to prevent fork bomb on a server or understand who did it and how did it I mean how to track reference of fork bomb and find out how does it occur ?

View 3 Replies View Related

Server :: NTP Config - Prevent Clients Using Server?

May 24, 2010

I'm presently writing software to keep my system time from drifting, it uses an external clock device.To verify it's accuracy I'm running ntpd as a server, and have another server monior the first as a client. This allows me to compare the offset with other 'valid' time servers.The problem is that the monitoring client keeps synchronising with my development server. How can I configure either the dev. server or the client so that it's time won't be selected as a good time source?The ntp.conf on the dev. server looks like:

Code:
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10

[code]...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved