Re: Strange Server Behavior

2012-06-27 Thread Mark Phillips
Some more pieces to the puzzle...

I ran the same ping test last night (laptop to server), but stopped the
following services on the server:
apache2
exim4
mediatomb
mysql
nfs-kernel-server
nfs-common
openvpnas
cups
ntp
rpcbind

And there were no packets lost!

2802 packets transmitted, 2802 received, 0% packet loss, time 28010243ms
rtt min/avg/max/mdev = 0.063/0.157/0.319/0.033 ms

This is all that was running:
USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
root 1  0.0  0.0   2036   736 ?Ss   Jun25   0:01 init [2]
root 2  0.0  0.0  0 0 ?SJun25   0:00 [kthreadd]
root 3  0.0  0.0  0 0 ?SJun25   0:00
[migration/0]
root 4  0.0  0.0  0 0 ?SJun25   0:00
[ksoftirqd/0]
root 5  0.0  0.0  0 0 ?SJun25   0:00
[watchdog/0]
root 6  0.0  0.0  0 0 ?SJun25   0:00 [events/0]
root 7  0.0  0.0  0 0 ?SJun25   0:00 [cpuset]
root 8  0.0  0.0  0 0 ?SJun25   0:00 [khelper]
root 9  0.0  0.0  0 0 ?SJun25   0:00 [netns]
root10  0.0  0.0  0 0 ?SJun25   0:00 [async/mgr]
root11  0.0  0.0  0 0 ?SJun25   0:00 [pm]
root12  0.0  0.0  0 0 ?SJun25   0:00
[sync_supers]
root13  0.0  0.0  0 0 ?SJun25   0:00
[bdi-default]
root14  0.0  0.0  0 0 ?SJun25   0:00
[kintegrityd/0]
root15  0.0  0.0  0 0 ?SJun25   0:00 [kblockd/0]
root16  0.0  0.0  0 0 ?SJun25   0:00 [kacpid]
root17  0.0  0.0  0 0 ?SJun25   0:00
[kacpi_notify]
root18  0.0  0.0  0 0 ?SJun25   0:00
[kacpi_hotplug]
root19  0.0  0.0  0 0 ?SJun25   0:00 [kseriod]
root21  0.0  0.0  0 0 ?SJun25   0:00
[kondemand/0]
root22  0.0  0.0  0 0 ?SJun25   0:00
[khungtaskd]
root23  0.0  0.0  0 0 ?SJun25   0:00 [kswapd0]
root24  0.0  0.0  0 0 ?SN   Jun25   0:00 [ksmd]
root25  0.0  0.0  0 0 ?SJun25   0:00 [aio/0]
root26  0.0  0.0  0 0 ?SJun25   0:00 [crypto/0]
root   154  0.0  0.0  0 0 ?SJun25   0:00
[ksuspend_usbd]
root   155  0.0  0.0  0 0 ?SJun25   0:00 [khubd]
root   157  0.0  0.0  0 0 ?SJun25   0:00 [ata/0]

So, perhaps I don't have a hardware problem, but a software problem?

Mark

On Tue, Jun 26, 2012 at 9:02 PM, Stephen cryptwo...@gmail.com wrote:

 What about pings from the server? Also my paranoia about this would have
 me checking the arp tables to see if the ip address is getting
 mis-somethinged. Also see if uou can make a task that will wrife to a file
 once every qp sex and see if the server is falling asleep or if it is
 network related.  It may be nic or switch for example.
 On Jun 26, 2012 7:42 PM, Mark Phillips m...@phillipsmarketing.biz
 wrote:

 My ping test is not what I expected but still shows a problem.

 I setup the test to ping (64 bytes, ttl =64) the problem server every 10
 seconds from my laptop. Both are plugged in, on the same subnet. The boxes
 are about 5 feet apart. Here are the results:

 3434 packets transmitted, 3307 received, 3% packet loss, time 34336321ms
 rtt min/avg/max/mdev = 0.100/0.231/4.332/0.275 ms

 I found 38 instances where the time stamps for the pings hiccuped and
 there was a delay. Each hiccup lasted (min/avg/max) 10/44/70 seconds. The
 time between hiccups was (min/avg/max) 1:20/14:29/29:00 minutes.

 I grep'd the log files for messages around these 38 incidents, but did
 not find any messages in any of the logs. However this is not a good test,
 so I just trolled the logs and didn't find anything significant.

 Do these numbers strike a chord with anyone?

 I will check the caps on the MB later this week.

 I looked in syslog, and could not find any correlation with the 38
 hiccups. However, what do these two cron jobs do, since the run quite
 frequently:
 CMD (   cd /  run-parts --report /etc/cron.hourly)
 CMD (  [ -x /usr/lib/php5/maxlifetime ]  [ -d /var/lib/php5 ]  find
 /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)

 A search through the log files for error does not return anything
 interesting.

 Since apache and few other apps were running on the server, I will run
 the ping test again tonight after I kill everything on the server.

 Thanks!

 Mark

 On Tue, Jun 26, 2012 at 9:35 AM, Carruth, Rusty 
 rusty.carr...@smartstoragesys.com wrote:

 Curious how your test turned out.

 ** **

 You may also want to run an iostat to a file and see if that correlates
 to the slow responses.

 ** **

 However, that ‘bulging capacitor’ thing others have 

Re: Strange Server Behavior

2012-06-27 Thread Mark Phillips
Stephen,

Great ideas...more tests for the morning!

Mark
On Jun 26, 2012 9:02 PM, Stephen cryptwo...@gmail.com wrote:

 What about pings from the server? Also my paranoia about this would have
 me checking the arp tables to see if the ip address is getting
 mis-somethinged. Also see if uou can make a task that will wrife to a file
 once every qp sex and see if the server is falling asleep or if it is
 network related.  It may be nic or switch for example.
 On Jun 26, 2012 7:42 PM, Mark Phillips m...@phillipsmarketing.biz
 wrote:

 My ping test is not what I expected but still shows a problem.

 I setup the test to ping (64 bytes, ttl =64) the problem server every 10
 seconds from my laptop. Both are plugged in, on the same subnet. The boxes
 are about 5 feet apart. Here are the results:

 3434 packets transmitted, 3307 received, 3% packet loss, time 34336321ms
 rtt min/avg/max/mdev = 0.100/0.231/4.332/0.275 ms

 I found 38 instances where the time stamps for the pings hiccuped and
 there was a delay. Each hiccup lasted (min/avg/max) 10/44/70 seconds. The
 time between hiccups was (min/avg/max) 1:20/14:29/29:00 minutes.

 I grep'd the log files for messages around these 38 incidents, but did
 not find any messages in any of the logs. However this is not a good test,
 so I just trolled the logs and didn't find anything significant.

 Do these numbers strike a chord with anyone?

 I will check the caps on the MB later this week.

 I looked in syslog, and could not find any correlation with the 38
 hiccups. However, what do these two cron jobs do, since the run quite
 frequently:
 CMD (   cd /  run-parts --report /etc/cron.hourly)
 CMD (  [ -x /usr/lib/php5/maxlifetime ]  [ -d /var/lib/php5 ]  find
 /var/lib/php5/ -type f -cmin +$(/usr/lib/php5/maxlifetime) -delete)

 A search through the log files for error does not return anything
 interesting.

 Since apache and few other apps were running on the server, I will run
 the ping test again tonight after I kill everything on the server.

 Thanks!

 Mark

 On Tue, Jun 26, 2012 at 9:35 AM, Carruth, Rusty 
 rusty.carr...@smartstoragesys.com wrote:

 Curious how your test turned out.

 ** **

 You may also want to run an iostat to a file and see if that correlates
 to the slow responses.

 ** **

 However, that ‘bulging capacitor’ thing others have mentioned sounds
 like a pretty convincing coincidence, as it were….

 ** **

 (I will say that USUALLY I’d agree with JD – Iobound or low RAM (and
 thus iobound on swap space) are the only things I’ve seen that cause
 unresponsiveness (never seen an overheat slow it down, usually it just dies
 suddenly.  I probably get fast overheating and not slow increases in heat
 levels J)

 ** **

 OH!  WAIT!  I just remembered another event – and it WON’T show up in
 normal performance logs.  If ‘you’ send a command to a disk drive, and it
 goes busy for a long time, your system can become totally locked until the
 timeout happens and the kernel gives up.  (If that happens, there SHOULD be
 a timeout recorded in the syslog or /var/log/messages.  Check there for
 timeouts on disk drives or hard resets or such).  (I know this because of
 where I work J)  (Disk drives are supposed to acknowledge the command
 almost immediately.  It is almost always a bad thing when the drive takes
 the command but does not finish the initial command handshake sequence…
 You might want to look at the S.M.A.R.T. attributes for your drives as well
 to see if any of them are showing ‘pre-fail’ conditions)

 ** **

 Rusty

 ** **

 *From:* plug-discuss-boun...@lists.plug.phoenix.az.us [mailto:
 plug-discuss-boun...@lists.plug.phoenix.az.us] *On Behalf Of *Mark
 Phillips
 *Sent:* Monday, June 25, 2012 10:13 PM
 *To:* Main PLUG discussion list
 *Subject:* Re: Strange Server Behavior

 ** **

 Right now, the server is not doing anything but sitting there

 Tasks:  98 total,   1 running,  97 sleeping,   0 stopped,   0 zombie
 Cpu(s):  0.0%us,  0.3%sy,  0.0%ni, 99.7%id,  0.0%wa,  0.0%hi,  0.0%si,
 0.0%st
 Mem:   1033780k total,   217560k used,   816220k free, 6220k buffers
 Swap:  2019320k total,0k used,  2019320k free,94056k cached

 Plenty of swap, not very busy. It may be over heating, but not sure why.

 I am going to run a test tonight - ping every 10 seconds and time stamp
 the output into a file. Perhaps I will see gaps or unusually long response
 times and I can correlate that with the log files.

 Mark

 On Mon, Jun 25, 2012 at 10:09 PM, JD Austin  j...@twingeckos.com
 wrote:

 I've had servers that act like that.. usually they're over heating,
 completely I/O bound, or swapping due to low available memory. 

 ** **

 On Mon, Jun 25, 2012 at 10:00 PM, Mark Phillips 
 m...@phillipsmarketing.biz wrote:

 Nope - everything just stops - ping waits for a response, web services
 just wait for the server, file transfers stop and wait...as if time
 just stopped for the server, then starts 

RE: Strange Server Behavior

2012-06-27 Thread Carruth, Rusty
Personal guesses, YMMV, YKWYPFI (you know what you paid for it), etc:

 

If you don't need NFS, leave it off.  When I saw it in  there I thought
- oh, my.  For NFS clients, I know you can freeze a system when the
server goes unresponsive.  Or I think I know that J

 

Of all those things, are there any you are NOT using?

 

Besides the ping test mentioned earlier, I suppose you could start
dividing and conquering (turn back on half the items below, run the
test.  If passes, run the other half to verify that the mix of the other
half will fail, THEN split the failing half in half and repeat).

 

I can't recall if I've ever seen a hung printer hang cups enough to hang
the entire system.  It will hang printing, of course, but...

 

In any case, yes it sounds like some sort of hw/sw interaction or maybe
just sw.

 

Good luck, Mr Phelps!  ;-)

 

Rusty

 

From: plug-discuss-boun...@lists.plug.phoenix.az.us
[mailto:plug-discuss-boun...@lists.plug.phoenix.az.us] On Behalf Of Mark
Phillips
Sent: Wednesday, June 27, 2012 6:51 AM
To: Main PLUG discussion list
Subject: Re: Strange Server Behavior

 

Some more pieces to the puzzle...

I ran the same ping test last night (laptop to server), but stopped the
following services on the server:
apache2
exim4
mediatomb
mysql
nfs-kernel-server
nfs-common
openvpnas
cups
ntp
rpcbind

And there were no packets lost!

2802 packets transmitted, 2802 received, 0% packet loss, time 28010243ms
rtt min/avg/max/mdev = 0.063/0.157/0.319/0.033 ms

This is all that was running:
USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
root 1  0.0  0.0   2036   736 ?Ss   Jun25   0:01 init
[2]  
root 2  0.0  0.0  0 0 ?SJun25   0:00
[kthreadd]
root 3  0.0  0.0  0 0 ?SJun25   0:00
[migration/0]
root 4  0.0  0.0  0 0 ?SJun25   0:00
[ksoftirqd/0]
root 5  0.0  0.0  0 0 ?SJun25   0:00
[watchdog/0]
root 6  0.0  0.0  0 0 ?SJun25   0:00
[events/0]
root 7  0.0  0.0  0 0 ?SJun25   0:00
[cpuset]
root 8  0.0  0.0  0 0 ?SJun25   0:00
[khelper]
root 9  0.0  0.0  0 0 ?SJun25   0:00 [netns]
root10  0.0  0.0  0 0 ?SJun25   0:00
[async/mgr]
root11  0.0  0.0  0 0 ?SJun25   0:00 [pm]
root12  0.0  0.0  0 0 ?SJun25   0:00
[sync_supers]
root13  0.0  0.0  0 0 ?SJun25   0:00
[bdi-default]
root14  0.0  0.0  0 0 ?SJun25   0:00
[kintegrityd/0]
root15  0.0  0.0  0 0 ?SJun25   0:00
[kblockd/0]
root16  0.0  0.0  0 0 ?SJun25   0:00
[kacpid]
root17  0.0  0.0  0 0 ?SJun25   0:00
[kacpi_notify]
root18  0.0  0.0  0 0 ?SJun25   0:00
[kacpi_hotplug]
root19  0.0  0.0  0 0 ?SJun25   0:00
[kseriod]
root21  0.0  0.0  0 0 ?SJun25   0:00
[kondemand/0]
root22  0.0  0.0  0 0 ?SJun25   0:00
[khungtaskd]
root23  0.0  0.0  0 0 ?SJun25   0:00
[kswapd0]
root24  0.0  0.0  0 0 ?SN   Jun25   0:00 [ksmd]
root25  0.0  0.0  0 0 ?SJun25   0:00 [aio/0]
root26  0.0  0.0  0 0 ?SJun25   0:00
[crypto/0]
root   154  0.0  0.0  0 0 ?SJun25   0:00
[ksuspend_usbd]
root   155  0.0  0.0  0 0 ?SJun25   0:00 [khubd]
root   157  0.0  0.0  0 0 ?SJun25   0:00 [ata/0]

So, perhaps I don't have a hardware problem, but a software problem?

Mark 

 

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Strange Server Behavior

2012-06-27 Thread Mark Phillips
I only installed nfs because I started to use this server as a media
server, and I wanted my family to be able to add movies to the movie folder
on the server. Mediatomb then scans the folder and makes the movies
available on our nifty wifi enabled TV.

Would samba be a better choice? The other computers on the network are mac,
windows, ubuntu. However, the windoes user has a low probability of adding
any movies by herself;) (no gender bashing here.I live with four
wonderful women, and one of them is a complete techo-phobe, and she is
proud of it.but that helps keep me around, so all is good with the
world).

Mark

On Wed, Jun 27, 2012 at 8:20 AM, Carruth, Rusty 
rusty.carr...@smartstoragesys.com wrote:

 Personal guesses, YMMV, YKWYPFI (you know what you paid for it), etc:

 ** **

 If you don’t need NFS, leave it off.  When I saw it in  there I thought –
 oh, my.  For NFS clients, I know you can freeze a system when the server
 goes unresponsive.  Or I think I know that J

 ** **

 Of all those things, are there any you are NOT using?

 ** **

 Besides the ping test mentioned earlier, I suppose you could start
 dividing and conquering (turn back on half the items below, run the test.
 If passes, run the other half to verify that the mix of the other half will
 fail, THEN split the failing half in half and repeat).

 ** **

 I can’t recall if I’ve ever seen a hung printer hang cups enough to hang
 the entire system.  It will hang printing, of course, but…

 ** **

 In any case, yes it sounds like some sort of hw/sw interaction or maybe
 just sw.

 ** **

 Good luck, Mr Phelps!  ;-)

 ** **

 Rusty

 ** **

 *From:* plug-discuss-boun...@lists.plug.phoenix.az.us [mailto:
 plug-discuss-boun...@lists.plug.phoenix.az.us] *On Behalf Of *Mark
 Phillips
 *Sent:* Wednesday, June 27, 2012 6:51 AM

 *To:* Main PLUG discussion list
 *Subject:* Re: Strange Server Behavior

 ** **

 Some more pieces to the puzzle...


 I ran the same ping test last night (laptop to server), but stopped the
 following services on the server:
 apache2
 exim4
 mediatomb
 mysql
 nfs-kernel-server
 nfs-common
 openvpnas
 cups
 ntp
 rpcbind

 And there were no packets lost!

 2802 packets transmitted, 2802 received, 0% packet loss, time 28010243ms
 rtt min/avg/max/mdev = 0.063/0.157/0.319/0.033 ms

 This is all that was running:
 USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
 root 1  0.0  0.0   2036   736 ?Ss   Jun25   0:01 init [2]
 root 2  0.0  0.0  0 0 ?SJun25   0:00 [kthreadd]
 root 3  0.0  0.0  0 0 ?SJun25   0:00
 [migration/0]
 root 4  0.0  0.0  0 0 ?SJun25   0:00
 [ksoftirqd/0]
 root 5  0.0  0.0  0 0 ?SJun25   0:00
 [watchdog/0]
 root 6  0.0  0.0  0 0 ?SJun25   0:00 [events/0]
 root 7  0.0  0.0  0 0 ?SJun25   0:00 [cpuset]
 root 8  0.0  0.0  0 0 ?SJun25   0:00 [khelper]
 root 9  0.0  0.0  0 0 ?SJun25   0:00 [netns]
 root10  0.0  0.0  0 0 ?SJun25   0:00
 [async/mgr]
 root11  0.0  0.0  0 0 ?SJun25   0:00 [pm]
 root12  0.0  0.0  0 0 ?SJun25   0:00
 [sync_supers]
 root13  0.0  0.0  0 0 ?SJun25   0:00
 [bdi-default]
 root14  0.0  0.0  0 0 ?SJun25   0:00
 [kintegrityd/0]
 root15  0.0  0.0  0 0 ?SJun25   0:00
 [kblockd/0]
 root16  0.0  0.0  0 0 ?SJun25   0:00 [kacpid]
 root17  0.0  0.0  0 0 ?SJun25   0:00
 [kacpi_notify]
 root18  0.0  0.0  0 0 ?SJun25   0:00
 [kacpi_hotplug]
 root19  0.0  0.0  0 0 ?SJun25   0:00 [kseriod]
 root21  0.0  0.0  0 0 ?SJun25   0:00
 [kondemand/0]
 root22  0.0  0.0  0 0 ?SJun25   0:00
 [khungtaskd]
 root23  0.0  0.0  0 0 ?SJun25   0:00 [kswapd0]
 root24  0.0  0.0  0 0 ?SN   Jun25   0:00 [ksmd]
 root25  0.0  0.0  0 0 ?SJun25   0:00 [aio/0]
 root26  0.0  0.0  0 0 ?SJun25   0:00 [crypto/0]
 root   154  0.0  0.0  0 0 ?SJun25   0:00
 [ksuspend_usbd]
 root   155  0.0  0.0  0 0 ?SJun25   0:00 [khubd]
 root   157  0.0  0.0  0 0 ?SJun25   0:00 [ata/0]

 So, perhaps I don't have a hardware problem, but a software problem?

 Mark 

 ** **

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


RE: Strange Server Behavior

2012-06-27 Thread Carruth, Rusty
Well, NFS server is less likely (I think!) to cause momentary freezes
than the client, but samba MIGHT be an idea.  Hopefully someone else
here has more experience with the server side of things, or maybe google
would help.

 

On the upload video thing - if you wanted to go to a lot of work, you
could put directories on each computer that periodically get rsync'd (or
whatever) to the server, so that the family members only need to copy
the movie to the directory on their machine and it will automatically
get copied across.  But that may be more work and fragility than you
want J  (and might make you more expendable!).  but that could get rid
of nfs or samba or any such thing.  Probably not worth doing if NFS
isn't' the issue J, so I'd say turn on half the processes and see what
happens, as I mentioned before..

 

Thinking about the system for a bit - first the schedule of when things
freeze.  Does it line up with anything being done on the client
machines?  On the TV? What 'absolute time' (wall clock time) were those
38 incidents at?  (If clients do something every 30 minutes, and they
are out of sync with each other, that might explain the variability of
the hiccup timing)

 

Going a bit further afield: Have you verified that nobody is using your
wifi for any nefarious purposes?  

 

Just some random thoughts...

 

Rusty

 

From: plug-discuss-boun...@lists.plug.phoenix.az.us
[mailto:plug-discuss-boun...@lists.plug.phoenix.az.us] On Behalf Of Mark
Phillips
Sent: Wednesday, June 27, 2012 8:47 AM
To: Main PLUG discussion list
Subject: Re: Strange Server Behavior

 

I only installed nfs because I started to use this server as a media
server, and I wanted my family to be able to add movies to the movie
folder on the server. Mediatomb then scans the folder and makes the
movies available on our nifty wifi enabled TV. 

Would samba be a better choice? The other computers on the network are
mac, windows, ubuntu. However, the windoes user has a low probability of
adding any movies by herself;) (no gender bashing here.I live
with four wonderful women, and one of them is a complete techo-phobe,
and she is proud of it.but that helps keep me around, so all is good
with the world).

Mark 

 

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Strange Server Behavior

2012-06-27 Thread Mark Phillips
Rusty,

The test was run from 11 PM to 7 AM, so no one in my house was doing
anything but sawing logs, as far as I know. Yes, teenagers tend to stay up
late, but I would have heard the tv. I don't think any of the other
machines are really doing anything at that time as well.

I don't think anyone is using my wifiI have a 64 character key for AES
and mac address filter for security. Yes, I know one can eaily spoof the
mac address thing, but it keeps some out. I also have not seen anything
strange in the logs.

Rsync is a good idea, but I agree - fragile, lots to set up, but maybe
worth a thought if nfs tends to be the problem. Maybe a script to check if
a local folder has changed, and then rsync it

Mark

On Wed, Jun 27, 2012 at 8:59 AM, Carruth, Rusty 
rusty.carr...@smartstoragesys.com wrote:

 Well, NFS server is less likely (I think!) to cause momentary freezes than
 the client, but samba MIGHT be an idea.  Hopefully someone else here has
 more experience with the server side of things, or maybe google would help.
 

 ** **

 On the upload video thing – if you wanted to go to a lot of work, you
 could put directories on each computer that periodically get rsync’d (or
 whatever) to the server, so that the family members only need to copy the
 movie to the directory on their machine and it will automatically get
 copied across.  But that may be more work and fragility than you want J
 (and might make you more expendable!).  but that could get rid of nfs or
 samba or any such thing.  Probably not worth doing if NFS isn’t’ the issue
 J, so I’d say turn on half the processes and see what happens, as I
 mentioned before..

 ** **

 Thinking about the system for a bit – first the schedule of when things
 freeze.  Does it line up with anything being done on the client machines?
 On the TV? What ‘absolute time’ (wall clock time) were those 38 incidents
 at?  (If clients do something every 30 minutes, and they are out of sync
 with each other, that might explain the variability of the hiccup timing)*
 ***

 ** **

 Going a bit further afield: Have you verified that nobody is using your
 wifi for any nefarious purposes?  

 ** **

 Just some random thoughts…

 ** **

 Rusty

 ** **

 *From:* plug-discuss-boun...@lists.plug.phoenix.az.us [mailto:
 plug-discuss-boun...@lists.plug.phoenix.az.us] *On Behalf Of *Mark
 Phillips
 *Sent:* Wednesday, June 27, 2012 8:47 AM

 *To:* Main PLUG discussion list
 *Subject:* Re: Strange Server Behavior

 ** **

 I only installed nfs because I started to use this server as a media
 server, and I wanted my family to be able to add movies to the movie folder
 on the server. Mediatomb then scans the folder and makes the movies
 available on our nifty wifi enabled TV.

 Would samba be a better choice? The other computers on the network are
 mac, windows, ubuntu. However, the windoes user has a low probability of
 adding any movies by herself;) (no gender bashing here.I live with
 four wonderful women, and one of them is a complete techo-phobe, and she is
 proud of it.but that helps keep me around, so all is good with the
 world).

 Mark 

 ** **

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

RE: Strange Server Behavior

2012-06-27 Thread Carruth, Rusty
Well, I had to ask J

 

I'd say its 'divide and conquer time' like I suggested earlier - enable
half (approx) of the services and run the test.  If it passes, turn
those off and then turn on the other half, rerun test.  If it passes,
life gets hard, and I'm going to ignore that possibility for now!
Whichever test fails, repeat the above with that reduced set of
services.

 

If both halves pass, then there is some interaction between the
services, and it's not so easy as divide and conquer.   (but of course,
if a service depends upon another one to be fully functional (apache and
mysql are likely examples) then you'll have to keep those services
together till the bitter end (as it were)).

 

However, there is still hope someone here has another idea...

 

Rusty

 

From: plug-discuss-boun...@lists.plug.phoenix.az.us
[mailto:plug-discuss-boun...@lists.plug.phoenix.az.us] On Behalf Of Mark
Phillips
Sent: Wednesday, June 27, 2012 9:12 AM
To: Main PLUG discussion list
Subject: Re: Strange Server Behavior

 

Rusty,

The test was run from 11 PM to 7 AM, so no one in my house was doing
anything but sawing logs, as far as I know. Yes, teenagers tend to stay
up late, but I would have heard the tv. I don't think any of the other
machines are really doing anything at that time as well. 

I don't think anyone is using my wifiI have a 64 character key for
AES and mac address filter for security. Yes, I know one can eaily spoof
the mac address thing, but it keeps some out. I also have not seen
anything strange in the logs.

Rsync is a good idea, but I agree - fragile, lots to set up, but maybe
worth a thought if nfs tends to be the problem. Maybe a script to check
if a local folder has changed, and then rsync it

Mark

On Wed, Jun 27, 2012 at 8:59 AM, Carruth, Rusty
rusty.carr...@smartstoragesys.com wrote:

Well, NFS server is less likely (I think!) to cause momentary freezes
than the client, but samba MIGHT be an idea.  Hopefully someone else
here has more experience with the server side of things, or maybe google
would help.

 

On the upload video thing - if you wanted to go to a lot of work, you
could put directories on each computer that periodically get rsync'd (or
whatever) to the server, so that the family members only need to copy
the movie to the directory on their machine and it will automatically
get copied across.  But that may be more work and fragility than you
want J  (and might make you more expendable!).  but that could get rid
of nfs or samba or any such thing.  Probably not worth doing if NFS
isn't' the issue J, so I'd say turn on half the processes and see what
happens, as I mentioned before..

 

Thinking about the system for a bit - first the schedule of when things
freeze.  Does it line up with anything being done on the client
machines?  On the TV? What 'absolute time' (wall clock time) were those
38 incidents at?  (If clients do something every 30 minutes, and they
are out of sync with each other, that might explain the variability of
the hiccup timing)

 

Going a bit further afield: Have you verified that nobody is using your
wifi for any nefarious purposes?  

 

Just some random thoughts...

 

Rusty

 

From: plug-discuss-boun...@lists.plug.phoenix.az.us
[mailto:plug-discuss-boun...@lists.plug.phoenix.az.us] On Behalf Of Mark
Phillips
Sent: Wednesday, June 27, 2012 8:47 AM


To: Main PLUG discussion list
Subject: Re: Strange Server Behavior

 

I only installed nfs because I started to use this server as a media
server, and I wanted my family to be able to add movies to the movie
folder on the server. Mediatomb then scans the folder and makes the
movies available on our nifty wifi enabled TV. 


Would samba be a better choice? The other computers on the network are
mac, windows, ubuntu. However, the windoes user has a low probability of
adding any movies by herself;) (no gender bashing here.I live
with four wonderful women, and one of them is a complete techo-phobe,
and she is proud of it.but that helps keep me around, so all is good
with the world).

Mark 

 


---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 

---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Strange Server Behavior

2012-06-27 Thread Mark Phillips
Rusty,

I am running another test now, with the following services running

exim4
cups
apache2
openvpnas
cups
ntp

I will keep you posted.

Mark

On Wed, Jun 27, 2012 at 9:16 AM, Carruth, Rusty 
rusty.carr...@smartstoragesys.com wrote:

 Well, I had to ask J

 ** **

 I’d say its ‘divide and conquer time’ like I suggested earlier – enable
 half (approx) of the services and run the test.  If it passes, turn those
 off and then turn on the other half, rerun test.  If it passes, life gets
 hard, and I’m going to ignore that possibility for now!  Whichever test
 fails, repeat the above with that reduced set of services.

 ** **

 If both halves pass, then there is some interaction between the services,
 and it’s not so easy as divide and conquer.   (but of course, if a service
 depends upon another one to be fully functional (apache and mysql are
 likely examples) then you’ll have to keep those services together till the
 bitter end (as it were)).

 ** **

 However, there is still hope someone here has another idea…

 ** **

 Rusty

 ** **

 *From:* plug-discuss-boun...@lists.plug.phoenix.az.us [mailto:
 plug-discuss-boun...@lists.plug.phoenix.az.us] *On Behalf Of *Mark
 Phillips
 *Sent:* Wednesday, June 27, 2012 9:12 AM

 *To:* Main PLUG discussion list
 *Subject:* Re: Strange Server Behavior

 ** **

 Rusty,

 The test was run from 11 PM to 7 AM, so no one in my house was doing
 anything but sawing logs, as far as I know. Yes, teenagers tend to stay up
 late, but I would have heard the tv. I don't think any of the other
 machines are really doing anything at that time as well.

 I don't think anyone is using my wifiI have a 64 character key for AES
 and mac address filter for security. Yes, I know one can eaily spoof the
 mac address thing, but it keeps some out. I also have not seen anything
 strange in the logs.

 Rsync is a good idea, but I agree - fragile, lots to set up, but maybe
 worth a thought if nfs tends to be the problem. Maybe a script to check if
 a local folder has changed, and then rsync it

 Mark

 On Wed, Jun 27, 2012 at 8:59 AM, Carruth, Rusty 
 rusty.carr...@smartstoragesys.com wrote:

 Well, NFS server is less likely (I think!) to cause momentary freezes than
 the client, but samba MIGHT be an idea.  Hopefully someone else here has
 more experience with the server side of things, or maybe google would help.
 

  

 On the upload video thing – if you wanted to go to a lot of work, you
 could put directories on each computer that periodically get rsync’d (or
 whatever) to the server, so that the family members only need to copy the
 movie to the directory on their machine and it will automatically get
 copied across.  But that may be more work and fragility than you want J
 (and might make you more expendable!).  but that could get rid of nfs or
 samba or any such thing.  Probably not worth doing if NFS isn’t’ the issue
 J, so I’d say turn on half the processes and see what happens, as I
 mentioned before..

  

 Thinking about the system for a bit – first the schedule of when things
 freeze.  Does it line up with anything being done on the client machines?
 On the TV? What ‘absolute time’ (wall clock time) were those 38 incidents
 at?  (If clients do something every 30 minutes, and they are out of sync
 with each other, that might explain the variability of the hiccup timing)*
 ***

  

 Going a bit further afield: Have you verified that nobody is using your
 wifi for any nefarious purposes?  

  

 Just some random thoughts…

  

 Rusty

  

 *From:* plug-discuss-boun...@lists.plug.phoenix.az.us [mailto:
 plug-discuss-boun...@lists.plug.phoenix.az.us] *On Behalf Of *Mark
 Phillips
 *Sent:* Wednesday, June 27, 2012 8:47 AM


 *To:* Main PLUG discussion list
 *Subject:* Re: Strange Server Behavior

  

 I only installed nfs because I started to use this server as a media
 server, and I wanted my family to be able to add movies to the movie folder
 on the server. Mediatomb then scans the folder and makes the movies
 available on our nifty wifi enabled TV. 


 Would samba be a better choice? The other computers on the network are
 mac, windows, ubuntu. However, the windoes user has a low probability of
 adding any movies by herself;) (no gender bashing here.I live with
 four wonderful women, and one of them is a complete techo-phobe, and she is
 proud of it.but that helps keep me around, so all is good with the
 world).

 Mark 

  


 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

 ** **

 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 

Ot but not - New android accessibility enhancements

2012-06-27 Thread Stephen
There will even be some accessibly enhancements, allowing blind users
to access braille devices to connect to Android and to use special
gestures to preform basic tasks. This will open up the platform for a
variety of people who have not had access before to utilize some
Google services through Android. The accessibility market, I think,
will become a fast moving audience as us geeks get older, soldiers
come back from war, and we seek out ways to simplify basic tasks on
the platform. from
http://rootzwiki.com/news/_/articles/announcements/recap-of-new-features-in-jelly-bean-r927

I know there are some on this list that this might have a more direct
interest than others. but some very interesting work towards
accessibility in 4.1 for sure.

-- 
A mouse trap, placed on top of your alarm clock, will prevent you from
rolling over and going back to sleep after you hit the snooze button.

Stephen
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: rsync syntax question

2012-06-27 Thread Ed
rsync -avH --progress dirname/ webhostname:www/differentdirname

add the trailing / and it works on the contents - see the section on Usage:
http://www.samba.org/ftp/rsync/rsync.html


On Wed, Jun 27, 2012 at 3:36 PM,  j...@actionline.com wrote:

 How can I modify the following syntax to copy a directory
 to a different directory name?

 I currently use this:

 rsync -avH --progress dirname webhostname:www/

 Which works fine to update the contents of dirname.
 But how could I modify this syntax so that it would
 copy the contents of dirname to differentdirname ?




 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Re: rsync syntax question

2012-06-27 Thread Stephen
what Ed said... :-)

On Wed, Jun 27, 2012 at 3:45 PM, Ed p...@0x1b.com wrote:
 rsync -avH --progress dirname/ webhostname:www/differentdirname

 add the trailing / and it works on the contents - see the section on Usage:
 http://www.samba.org/ftp/rsync/rsync.html


 On Wed, Jun 27, 2012 at 3:36 PM,  j...@actionline.com wrote:

 How can I modify the following syntax to copy a directory
 to a different directory name?

 I currently use this:

 rsync -avH --progress dirname webhostname:www/

 Which works fine to update the contents of dirname.
 But how could I modify this syntax so that it would
 copy the contents of dirname to differentdirname ?




 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



-- 
A mouse trap, placed on top of your alarm clock, will prevent you from
rolling over and going back to sleep after you hit the snooze button.

Stephen
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss


Call for Presenters - PLUGdev July 5th

2012-06-27 Thread Ed
Hi All

We need a presentation for the July PLUGdev meeting, Thursday the 5th.
If you want to present a development oriented presentation, Please
post to the PLUGdev list plug­de...@lists.plug.phoenix.az.us
We are looking for presentations on all aspects of development; from
idea generation to details of compilation for specific languages to
deployment with services and all the way to life­cycle management.
If you need suggestions ­ there is an interest in presentations that
speak to the following topics:
LDAP integration
LINUX kernel configure and compile
MySQL set up
Scala
Developing for RaspberryPi/Arduino/BeagleBoard/Android...

Thanks and see you next Thursday ­- Ed
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: Call for Presenters - PLUGdev July 5th

2012-06-27 Thread Ed
or is the 5th too close to The Independence Day Holiday for everyone?

On Wed, Jun 27, 2012 at 4:32 PM, Ed p...@0x1b.com wrote:
 Hi All

 We need a presentation for the July PLUGdev meeting, Thursday the 5th.
 If you want to present a development oriented presentation, Please
 post to the PLUGdev list plug­de...@lists.plug.phoenix.az.us
 We are looking for presentations on all aspects of development; from
 idea generation to details of compilation for specific languages to
 deployment with services and all the way to life­cycle management.
 If you need suggestions ­ there is an interest in presentations that
 speak to the following topics:
        LDAP integration
        LINUX kernel configure and compile
        MySQL set up
        Scala
        Developing for RaspberryPi/Arduino/BeagleBoard/Android...

 Thanks and see you next Thursday ­- Ed
---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss

Re: rsync syntax question - Thanks!

2012-06-27 Thread joe

Thanks Ed.  That worked perfectly.

 rsync -avH --progress dirname/ webhostname:www/differentdirname

 add the trailing / and it works on the contents - see the section on
 Usage:
 http://www.samba.org/ftp/rsync/rsync.html


 On Wed, Jun 27, 2012 at 3:36 PM,  j...@actionline.com wrote:

 How can I modify the following syntax to copy a directory
 to a different directory name?

 I currently use this:

 rsync -avH --progress dirname webhostname:www/

 Which works fine to update the contents of dirname.
 But how could I modify this syntax so that it would
 copy the contents of dirname to differentdirname ?




 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
 ---
 PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
 To subscribe, unsubscribe, or to change your mail settings:
 http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss



---
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change your mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss