473,581 Members | 2,899 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 1640
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
1737
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
3200
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...
7
2324
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...
3
2305
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
3024
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...
7
4019
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...
6
5239
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
1280
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
4637
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...
0
7883
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...
0
7808
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...
0
8312
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...
0
8182
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...
0
6567
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5685
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...
0
3809
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3835
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2311
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

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.