473,804 Members | 3,750 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Tons of stats/opens to non-existing files increases Python's startupon loaded NFS servers

Hello All:

I am being told by my systems people that the load on
the NFS servers is nasty. Our python installs are up
on NFS. Also, on a bureaucratic note, I have very
little input/control into the python builds (sigh).

I have found the following (linux):

strace -f -F python2.2.2 -c 'pass' |& fgrep '(No such
file or directory)' | wc -l
===> 57

strace -f -F python2.4 -c 'pass' |& fgrep '(No such
file or directory)' | wc -l
===> 161

Whoa!! After looking at what is being stat'd or
open'd, it looks like 'encodings' is new in 2.4 and,
even "worse", everything is looked for as a zip first.

Python start-up is significantly slowed when it has to
look for non-existent files on loaded NFS servers, and
becomes particularly costly when using python for cgi.

Is there any documentation I can read to understand
Python's start-up and how I might resolve this? Of
course, any other ideas and comments are welcome!

Respectfully,

Quentin Crain


_______________ _______________ ____
Do you Yahoo!?
Make Yahoo! your home page
http://www.yahoo.com/r/hs
Jul 19 '05 #1
0 1104

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

Similar topics

0
1659
by: mr_burns | last post by:
hi, i want to put some useful marketing stats onto a web site but cant really think of many. ones that i have thought of that would be useful for marketing are: - which URL did a user come from? see what paid online advertisements are working the best. - ...also, what did that user then go on an buy (if anything).
8
5827
by: Bob II | last post by:
Hey, I've never used PHP before. I was wondering if it is possible to use PHP to generate web stats. My web host's stats aren't very good. So I want to generate some custom stats for myself. At a minimum, I want a log of the IP, referrer, environment variables, time stamp, etc., and dump it into a comma delimited text file that I can import into access or Excel. I don't need to generate gifs with PHP. Just need the raw data. Can...
2
2049
by: hrishy | last post by:
Hi All I was just wundering what happens if we dont gather stats on indexes will it effect the optimiser plans ? regards Hrishy
1
3373
by: Peter Sands | last post by:
Hi, I am trying to run an update stats command but keep getting a syntax error: Looking at the doco it looks like I can use: update stats <table_name>; but when I use: mysql> update stats x_balance; ERROR 1064: You have an error in your SQL syntax near 'x_balance' at line 1
2
4441
by: Tom Cole | last post by:
Does anyone know of web client stats showing the percentage of users that JavaScript enabled/disabled? I am writing several Java (not JavaScript) components that would be much easier to code if I could include a .js file to do client side validation. Just wanted to know what percentage of clients I would expect this to work on.
5
8137
by: Peter Jenkins | last post by:
The client for which I do this site www.safenz.org.nz wants stats tracking/a visitor counter, like the one that is there at the moment (at the bottom of the home page). However I would like one that 1) uses either a link or a small, discreet icon, rather than the butt-ugly counter that's there currently. I dont want an actual counter visible on the page if possible 2) uses valid code - the counter code is the only thing on the page that...
6
1582
by: Jochen Berger | last post by:
We've got a serious problem. For invoicing I get the ID for a group of assignments. I open one(!) SqlConnection, select all data rows of that group, start one(!) transaction, and then I update the data rows of every assignment in two tables. The strange thing is, that, even though I've got only one SqlConnection object, a new connection is opened for every single assignment, but neither the transaction nor the SqlConnection gets closed or...
0
10495
by: JohnZing | last post by:
hi I made a simple web page Stats.aspx To get visitiors information for all my websites. In my websites i use <img src="http://stats.xxxxxxx.com/stats.aspx?site=yyyy> This works ok. The problem is that I lost the UrlReferrer. I never get the original UrlReferrer in Request.UrlReferrer.ToString
9
4065
by: ankitdesai | last post by:
I would like to parse a couple of tables within an individual player's SHTML page. For example, I would like to get the "Actual Pitching Statistics" and the "Translated Pitching Statistics" portions of Babe Ruth page (http://www.baseballprospectus.com/dt/ruthba01.shtml) and store that info in a CSV file. Also, I would like to do this for numerous players whose IDs I have stored in a text file (e.g.: cobbty01, ruthba01, speaktr01, etc.)....
2
1742
by: Monu | last post by:
HI All, I am getting problem in using hotshot profiler. When I hotshot with lineevents=0, it works fine, but when I use lineevents=1, I get error in stats here is my code: import hotshot, hotshot.stats prof = hotshot.Profile("test.prof",lineevents=1) prof.start()
0
9706
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
9584
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
10583
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10082
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...
0
9160
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 launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7622
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
5525
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
3822
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2995
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.