[SLUG] Send EOF to Browser from LAMP stack.

2010-01-20 Thread Peter Rundle
Hi Sluggers, I hope this question is appropriate for this list. I have a PHP web-site running on Apache and Linux. A PHP routine produces a page that is sent back to the browser, but then it has some house-keeping to do which takes some time, perhaps many seconds but the housekeeping doesn't

Re: [SLUG] Send EOF to Browser from LAMP stack.

2010-01-20 Thread Jeff Waugh
quote who=Peter Rundle What I would like to do is end/close the http request so that the browser gets the HTTP equivelent of an EOF but allow the php script to keep running. Now flush() does send the output to date to the browser but the browsers busy icon keeps running because the http

Re: [SLUG] Send EOF to Browser from LAMP stack.

2010-01-20 Thread Ken Foskey
On Thu, 2010-01-21 at 08:22 +1100, Peter Rundle wrote: Hi Sluggers, I hope this question is appropriate for this list. I have a PHP web-site running on Apache and Linux. A PHP routine produces a page that is sent back to the browser, but then it has some house-keeping to do which takes

[SLUG] NTP Issues

2010-01-20 Thread Kyle
Hi Slug, Having a bit of an issue at the moment with NTP. Server has been running for nigh on 2-3 years now. NTP was always running and always perfect. Recently had a truck take out power lines in the street and no power for 3-4 hours. Server sits behind somewhat out-of-date, (but still has

Re: [SLUG] NTP Issues

2010-01-20 Thread Harrison Conlin
On Thu, Jan 21, 2010 at 9:43 AM, Kyle k...@attitia.com wrote: Hi Slug, Having a bit of an issue at the moment with NTP. Server has been running for nigh on 2-3 years now. NTP was always running and always perfect. Recently had a truck take out power lines in the street and no power for 3-4

Re: [SLUG] NTP Issues

2010-01-20 Thread Ben Donohue
I think from memory you can test whether NTP is working... isn't there a test button to check it can find an upstream NTP server? Also check basic network settings... has the gateway setting changed or is now missing. Ben Kyle wrote: Hi Slug, Having a bit of an issue at the moment with NTP.

Re: [SLUG] Send EOF to Browser from LAMP stack.

2010-01-20 Thread justin randell
hi, 2010/1/20 Peter Rundle pe...@aerodonetix.com.au: Hi Sluggers, I hope this question is appropriate for this list. I have a PHP web-site running on Apache and Linux. A PHP routine produces a page that is sent back to the browser, but then it has some house-keeping to do which takes some

Re: [SLUG] NTP Issues

2010-01-20 Thread Kyle
Harrison Conlin wrote: On Thu, Jan 21, 2010 at 9:43 AM, Kyle k...@attitia.com wrote: I would start with changing the CMOS battery and seeing if that makes a difference. Indeed, but if the server isn't shut down at any time, then the CMOS doesn't come into play does it?

Re: [SLUG] NTP Issues

2010-01-20 Thread Kyle
Ben Donohue wrote: I think from memory you can test whether NTP is working... isn't there a test button to check it can find an upstream NTP server? Also check basic network settings... has the gateway setting changed or is now missing. Ben NTP has a GUI??? What's that called pls (in KDE) ?

Re: [SLUG] Send EOF to Browser from LAMP stack.

2010-01-20 Thread justin randell
hi, 2010/1/20 Peter Rundle pe...@aerodonetix.com.au: Hi Sluggers, I hope this question is appropriate for this list. I have a PHP web-site running on Apache and Linux. A PHP routine produces a page that is sent back to the browser, but then it has some house-keeping to do which takes some

Re: [SLUG] NTP Issues

2010-01-20 Thread SkoZombie
On Thu, January 21, 2010 9:43 am, Kyle wrote: However, since then server loses time BIG time. Funny thing is, other server in same subnet (also NTP) keeps perfect time. Both running CentOS 5.x. Now, could be any number of issues, just looking for some guidance on where to start looking pls?

Re: [SLUG] NTP Issues

2010-01-20 Thread Amos Shapira
2010/1/21 SkoZombie skozom...@kruel.org: On Thu, January 21, 2010 9:43 am, Kyle wrote: However, since then server loses time BIG time. Funny thing is, other server in same subnet (also NTP) keeps perfect time. Both running CentOS 5.x. Now, could be any number of issues, just looking for some

Re: [SLUG] NTP Issues

2010-01-20 Thread Ken Foskey
On Thu, 2010-01-21 at 09:43 +1100, Kyle wrote: Hi Slug, Having a bit of an issue at the moment with NTP. Server has been running for nigh on 2-3 years now. NTP was always running and always perfect. Recently had a truck take out power lines in the street and no power for 3-4 hours.

Re: [SLUG] NTP Issues

2010-01-20 Thread Kyle
Amos Shapira wrote: 2010/1/21 SkoZombie skozom...@kruel.org: You've probably done this already, but manually set the time correctly. Correct, stop the server (service ntpd stop) then run ntpdate server-name (taking server-name from /etc/ntp.conf), then service ntpd start. You can

Re: [SLUG] Send EOF to Browser from LAMP stack.

2010-01-20 Thread Piers Rowan
how immediate does this need to be? unless this really needs to run straight away, i'd put the needs background work request in a simple queue and process it via a cron script. IMHO, putting a layer between a web request and any serious out-of-band processing is the best way to handle these

Re: [SLUG] Send EOF to Browser from LAMP stack.

2010-01-20 Thread Peter Rundle
It's alleged Ken Foskey did scribe: You could try closing STDOUT which will tell apache that your script has stopped output. This is interesting idea, I think I will give that a try if I can find out how to get hold of the STDOUT file pointer. In perl I executed a background task with an

Re: [SLUG] NTP Issues

2010-01-20 Thread james
On Thursday 21 January 2010 07:24:26 slug-requ...@slug.org.au wrote: Having a bit of an issue at the moment with NTP. Server has been running for nigh on 2-3 years now. NTP was always running and always perfect. Recently had a truck take out power lines in the street and no power for 3-4

Re: [SLUG] NTP Issues

2010-01-20 Thread Steffen Schulz
On 100121 at 10:00, Kyle wrote: However, since then server loses time BIG time. Funny thing is, other server in same subnet (also NTP) keeps perfect time. Both running CentOS 5.x. Did you check /etc/adjtime? Not only will NTP refuse to change the clock in large steps, it also makes a record of

Re: [SLUG] Send EOF to Browser from LAMP stack.

2010-01-20 Thread Amos Shapira
2010/1/21 Peter Rundle pe...@aerodonetix.com.au: Cron jobs aren't the go, this is an event driven task that needs to happen when the event occurs, not some minutes/hours later when the cron jobs wakes up at the specified interval. Cron is not the only way to process things in the background.

[SLUG] Wireless Broadband?

2010-01-20 Thread j blrown
I've been looking at getting a wireless Broadband Prepaid kit from either Vodaphone,Optus or Bigpond. I just want it to use in addition to my ADSL Broadband connection, and will use it with either my Laptop or Netbook. I'm running Ubuntu in one form or another, from 8.10 to 9.04. Any advice

Re: [SLUG] Wireless Broadband?

2010-01-20 Thread Peter Hardy
Hey hey. On Wed, 2010-01-20 at 20:44 -0800, j blrown wrote: I've been looking at getting a wireless Broadband Prepaid kit from either Vodaphone,Optus or Bigpond. I have experience with Vodafone and Bigpond post-paid wireless broadband on Ubuntu 9.04. The Vodafone dongle works fine. Plugged it

Re: [SLUG] Wireless Broadband?

2010-01-20 Thread Mike Andy
I've done a skype call over one of those USB modems before, i think the company was 3. I've got to say it was pretty good, the skype call didn't drop out at all at any time, very impressive for such a small device. I've also heard that you can go and get your own wireless USB modem and just use

Re: [SLUG] Wireless Broadband?

2010-01-20 Thread Dean Hamstead
The Optus dongles 'just work', as the huawei modems are well supported in more recent kernels and network-manager. They are also trivial to get going using wvdial (which i use) or other ppp tools. Virgin, Dodo, 3 and Voda dongles which are from Huawei are no doubt just as trivial to

Re: [SLUG] Wireless Broadband?

2010-01-20 Thread david
j blrown wrote: I've been looking at getting a wireless Broadband Prepaid kit from either Vodaphone,Optus or Bigpond. I just want it to use in addition to my ADSL Broadband connection, and will use it with either my Laptop or Netbook. I'm running Ubuntu in one form or another, from 8.10 to

Re: [SLUG] Wireless Broadband?

2010-01-20 Thread Dean Hamstead
From Optus (and its resellers), the 7.2mbps modems are definitely faster than their 3.6meg cousins and do hold the network better. These are supposedly using two frequency's. Most likely their more advanced antennas and radios make them more robust as well. Ive browsed the net (as a

Re: [SLUG] Wireless Broadband?

2010-01-20 Thread Amos Shapira
Since this became a discussion of broadband modems - I got an OK from my workplace to buy the Telstra Turbo USB pre-paid modem (currently costs $149) but so far Google, whirlpool and ubuntuforums failed to provide a positive answer about the hardware compatibility to linux (Ubuntu 9.10). Can

Re: [SLUG] Wireless Broadband?

2010-01-20 Thread Marghanita da Cruz
j blrown wrote: I've been looking at getting a wireless Broadband Prepaid kit from either Vodaphone,Optus or Bigpond. Something you might like to consider is the coverage. I'm in the inner west of Sydney, using a Virgin (Post Pay $40-5GB capped/shaped/month) branded modem, on the Optus

Re: [SLUG] Wireless Broadband?

2010-01-20 Thread darkpaw
I got a Vodafone prepaid one the other day, not much luck on my 64 bit system so far though. The current usb stick model is K3765 which doesn't seem to be supported by the available kernels in Ubuntu at least, or maybe it needs some fiddling. It's not been

Re: [SLUG] Wireless Broadband?

2010-01-20 Thread Ben Donohue
From memory you can get them in two general packages... time online or monthly download. you really have to watch the downloads of these... If you go over, you get slugged quite heavily. They are not capped at whatever and then shaped. You get hit for every additional MEGABYTE! (unless their