473,805 Members | 1,995 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Alarming message when running Python code

I'm not sure if this query should be directed to comp.lang.pytho n or
comp.os.linux.m isc so I intend to post it to both with apologies if
it's inappropriate on either.

I have a small python utility which I wrote myself and which crawls
through a directory comparing all possible pairs of files. Under
Windows it works fine, while the same code under Linux (Fedora Core 3)
works for a while then starts continuously throwing up the following
message

Message from syslog@localhos t at [date/time]
localhost kernel: CPU1: Temperature above threshold

While the code is continues to work, it is greatly slowed by these
constant messages, and of ourse I am left wondering if my computer is
about to explode!

Is it really true that the code causes overheating under Linux and not
under Windows? Or does Windows ignore the problem (and so am I
risking damage by running the code)? Or are the Linux messages
spurious, and if so how can I suppress them and ensure they do not
slow the running of the code?

Grateful for any help - preferably not too technical.

Peter

Oct 27 '07 #1
2 1661
peter wrote:
I'm not sure if this query should be directed to comp.lang.pytho n or
comp.os.linux.m isc so I intend to post it to both with apologies if
it's inappropriate on either.

I have a small python utility which I wrote myself and which crawls
through a directory comparing all possible pairs of files. Under
Windows it works fine, while the same code under Linux (Fedora Core 3)
works for a while then starts continuously throwing up the following
message

Message from syslog@localhos t at [date/time]
localhost kernel: CPU1: Temperature above threshold

While the code is continues to work, it is greatly slowed by these
constant messages, and of ourse I am left wondering if my computer is
about to explode!

Is it really true that the code causes overheating under Linux and not
under Windows? Or does Windows ignore the problem (and so am I
risking damage by running the code)? Or are the Linux messages
spurious, and if so how can I suppress them and ensure they do not
slow the running of the code?

Grateful for any help - preferably not too technical.

Peter

How well is the fan working on your computer?

How recently have you cleaned the dust out of it?

Touch it. Is it hot?

Do you have the same problem if you turn off your computer for two hours
before you run your program?

I wouldn't run the risk if it were my computer. If a basic cleaning
doesn't take care of the problem, take your computer to a professional.

Cheers,
Cliff

P.S. This is not a python-specific issue.
Oct 27 '07 #2
["Followup-To:" header set to comp.os.linux.m isc.]
On 2007-10-27, peter <pe**********@t alk21.comwrote:
I'm not sure if this query should be directed to comp.lang.pytho n or
comp.os.linux.m isc so I intend to post it to both with apologies if
it's inappropriate on either.

I have a small python utility which I wrote myself and which crawls
through a directory comparing all possible pairs of files. Under
Windows it works fine, while the same code under Linux (Fedora Core 3)
works for a while then starts continuously throwing up the following
message

Message from syslog@localhos t at [date/time]
localhost kernel: CPU1: Temperature above threshold

While the code is continues to work, it is greatly slowed by these
constant messages, and of ourse I am left wondering if my computer is
about to explode!

Is it really true that the code causes overheating under Linux and not
under Windows? Or does Windows ignore the problem (and so am I
risking damage by running the code)? Or are the Linux messages
spurious, and if so how can I suppress them and ensure they do not
slow the running of the code?

Grateful for any help - preferably not too technical.
Controlling CPU temperature is the job of the operating system and the
hardware. Do you have the latest version of the kernel? Do you hear the fans
running at full speed when your code runs? Maybe you need new fans or a new
heatsink, or you need to clean the ones you have. Why are you still using FC3?
Which version of Windows do you use? 98? XP with no service pack?
Oct 27 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1752
by: Andrew Chalk | last post by:
I am developing a CGI app, When the user loads my page I want to populate an HTML 'select' box (drop down menu) with items from a database. What is the best way to get my Python procedure that does this called when the page is loaded? Many thanks
3
3207
by: Anand | last post by:
I have a unexpected issue with python modules (well i kind of know why, but i am trying to find if there is a way around) Intro: I am allowing an external application to actually run python scripts. The external application i am taking about is a test sequencer with a lots of functionality. So the external application has a lot of gui and all the testing logic is done in python. Things work fine when i run regular code and i have been...
7
2336
by: Stuart McGraw | last post by:
I just spent a $*#@!*&^&% hour registering at ^$#@#%^ Sourceforce and trying to submit a Python bug report but it still won't let me. I give up. Maybe someone who cares will see this post, or maybe it will save time for someone else who runs into this problem... ================================================ Environment: - Microsoft Windows 2000 Pro
3
2316
by: Edg Bamyasi | last post by:
This Is A Late Cross Post from comp.lang.python. It seems the mistery is deeper then i expected. What is the running time of conactination on character strings. i.e. >> joe="123" >> joe+="99999999999999999"
8
3043
by: Paul Cochrane | last post by:
Hi all, I've got an application that I'm writing that autogenerates python code which I then execute with exec(). I know that this is not the best way to run things, and I'm not 100% sure as to what I really should do. I've had a look through Programming Python and the Python Cookbook, which have given me ideas, but nothing has gelled yet, so I thought I'd put the question to the community. But first, let me be a little more detailed...
7
4055
by: iclinux | last post by:
Environment: WinXP SP2 + Python 2.4.2, with SOAPpy-0.11.6.zip, fpconst-0.7.2.zip, and PyXML-0.8.4.win32-py2.4.exe installed. Problem: I'm reading DiveIntoPython these days. When running code of "Example 12.11. Calling A Web Service Through A WSDL Proxy", I got some errors as follow. Will you please give me some suggestion? IDLE 1.1.2's Output:
6
5256
by: John (Z R) L | last post by:
Hi all, I am very new to programming, and I chose to study the Python language before C++. I am currently using the Wikibooks "Non-Programmer's Tutorial for Python", and am up to the section "Who goes there"? http://en.wikibooks.org/wiki/Non-Programmer%27s_Tutorial_for_Python/Who_Goes_There%3F But after clicking "run module" for " a = 1
5
1294
by: Eric CHAO | last post by:
A lot of application based on python claim that python 2.3 or 2.4 is needed not 2.5, ie. mysqldb. I've been using python for months. I don't care about 2.4 or 2.5. But I like the default icons of python in 2.5. So I just use that, but some scripts can't work on that. When will all these applications support 2.5? Thanks.
9
4650
by: yogamatt1970 | last post by:
I have a large body of Python code which runs on many different (Unix) machines concurrently. Part of the code lives in one place, but most of it lives in directories which I find at runtime. I only have one copy of each Python source file and I think I'm hitting a race condition where two hosts attempt to import the same module at the same time. My import fails on one of the machines and the following exception is thrown: EOFError:...
0
9716
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9596
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10359
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10364
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10104
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7645
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5677
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4317
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3843
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.