problem mac mini
Hi! Sorry for my english
I have a problem, my Mac mini freezes occasionally, about once a week
when suspended, the device is not available for remote administration (ssh vnc) and also not available posted on site. while Ping normal without breaks
following a report from my device
Start time: 15:52:51 05/20/15
Model Identifier: Macmini4,1
System Version: OS X 10.8.5 (12F2518)
Kernel Version: Darwin 12.6.0
Time since boot: 12:24
SATA
HGST HTS725050A7E630
HGST HTS725050A7E630
USB
USB DISK 2.0 (Phison Electronics Corp.)
Elements 1023 (Western Digital Technologies, Inc.)
Diagnostic reports
2015-04-28 httpd crash x20
2015-05-20 Server crash
Log
May 20 03:53:38 ALF: ifnet_get_address_list_family error 12
May 20 03:55:57 macx_swapoff FAILED - 35
May 20 03:56:42 ALF: ifnet_get_address_list_family error 12
May 20 03:56:44 ALF: ifnet_get_address_list_family error 12
May 20 03:59:22 ALF: ifnet_get_address_list_family error 12
May 20 04:00:36 ALF: ifnet_get_address_list_family error 12
May 20 04:00:36 ALF: ifnet_get_address_list_family error 12
May 20 04:00:36 ALF: ifnet_get_address_list_family error 12
May 20 04:00:36 ALF: ifnet_get_address_list_family error 12
May 20 04:02:38 ALF: ifnet_get_address_list_family error 12
May 20 04:02:54 ALF: ifnet_get_address_list_family error 12
May 20 04:03:11 (default pager): [KERNEL]: Switching ON Emergency paging segment
May 20 04:03:25 (default pager): [KERNEL]: Failed to recover emergency paging segment
May 20 04:42:34 (default pager): [KERNEL]: Switching ON Emergency paging segment
May 20 04:42:38 (default pager): [KERNEL]: Failed to recover emergency paging segment
May 20 04:45:04 (default pager): [KERNEL]: Failed to recover emergency paging segment
May 20 04:46:27 (default pager): [KERNEL]: Failed to recover emergency paging segment
May 20 04:53:27 (default pager): [KERNEL]: System is out of paging space.
May 20 04:53:37 (default pager): [KERNEL]: Failed to recover emergency paging segment
May 20 05:04:52 SLOWDOWN: client 0x7f93f1034e00 (pid 424) sleeping due to too many errors (num usleeps 28)
May 20 05:17:44 (default pager): [KERNEL]: System is out of paging space.
May 20 05:17:45 macx_swapoff FAILED - 35
May 20 05:22:52 (default pager): [KERNEL]: Recovered emergency paging segment
May 20 10:06:41 SLOWDOWN: client 0x7f93f1811a00 (pid 304) sleeping due to too many errors (num usleeps 40)
May 20 10:07:02 SLOWDOWN: client 0x7f93f1814e00 (pid 304) sleeping due to too many errors (num usleeps 44)
Activity
CPU: user 59%, system 25%
Net: 23 in, 295 out (KiB/s)
CPU per process: ruby (UID 0) is using 98,3 %
Current downstream data: httpd (UID 70) is using 1014,57 KiB/s
Daemons
org.macports.mysql5
Agents
org.freedesktop.dbus-session
com.google.keystone.user.agent
launchd
/Library/LaunchAgents/org.freedesktop.dbus-session.plist
- org.freedesktop.dbus-session
/Library/LaunchDaemons/com.apple.serverd.plist
- com.apple.serverd
/Library/LaunchDaemons/org.freedesktop.dbus-system.plist
- org.freedesktop.dbus-system
/Library/LaunchDaemons/org.macports.bacula.plist
- org.macports.bacula
/Library/LaunchDaemons/org.macports.mysql5.plist
- org.macports.mysql5
Library/LaunchAgents/com.apple.serveralertproxy.plist
- com.apple.serveralertproxy
Library/LaunchAgents/com.google.keystone.agent.plist
- com.google.keystone.user.agent
Bundles
/Library/Internet Plug-Ins/JavaAppletPlugin.plugin
- com.apple.java.JavaAppletPlugin
Contents of /etc/hosts
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
Contents of /etc/pear.conf (ASCII text, with very long lines)
a:31:{s:9:"cache_dir";s:23:"/private/tmp/pear/cache";s:15:"default_channel";s:1 2:"pear.php.net";s:16:"preferred_mirror";s:12:"pear.php.net";s:13:"remote_config";s:0:"";s:13:"auto_discover";i:0;s:13:"master_server";s:12 :"pear.php.net";s:10:"http_proxy";s:0:"";s:7:"php_dir";s:12:"/usr/lib/php";s:7:"ext_dir";s:49: "/usr/lib/php/extensions/no-debug-non-zts-20090626";s:7:"doc_dir";s:16:"/usr/lib /php/doc";s:7:"bin_dir";s:8:"/usr/bin";s:8:"data_dir";s:17:"/usr/lib/php/data";s :7:"cfg_dir";s:16:"/usr/lib/php/cfg";s:7:"www_dir";s:19:"/usr/lib/php/htdocs";s: 8:"test_dir";s:17:"/usr/lib/php/test";s:8:"temp_dir";s:22:"/private/tmp/pear/tem p";s:12:"download_dir";s:26:"/private/tmp/pear/download";s:7:"php_bin";s:12:"/us r/bin/php";s:10:"php_prefix";s:0:"";s:10:"php_suffix";s:0:"";s:7:"php_ini";s:0:" ";s:8:"username";s:0:"";s:8:"password";s:0:"";s:7:"verbose";i:1;s:15:"preferred_ state";s:6:"stable";s:5:"umask";i:18;s:9:"cache_ttl";i:3600;s:8:"sig_type";s:3:" gpg";s:7:"sig_bin";s:18:"/usr/local/bin/gpg";s:9:"sig_keyid";s:0:"";s:10:"sig_ke ydir";s:21:"/private/etc/pearkeys";}
Contents of /etc/pf.conf
eth0 = "en0"
mac1 = "178.218.215.186"
pbx = "178.218.212.198"
office = "93.174.134.51, 93.174.134.50"
icmp_types = "{echoreq, unreach}"
set block-policy return
set skip on lo0
antispoof quick for $eth0
block in log all
pass out quick on $eth0 to any keep state
pass inet proto icmp all icmp-type $icmp_types
table <goodhosts> persist file "/etc/pf.anchors/good-hosts.txt"
table <badhosts> persist { 92.252.128.0/18, 64.131.75.19, 117.111.183.67, 37.9.61.36, \
85.26.164.40, 95.52.215.101, 109.106.133.226, 194.28.16.21, 188.16.180.120, 178.46.218.64, 178.32.0.0/15}
table <localnet> persist { 127.0.0.0/8, 224.0.0.0/4, 10.0.0.0/8, 192.168.0.0/16 }
table <BF> persist
pass in quick from <goodhosts> to any
block in quick from <badhosts>
block in quick from <localnet>
pass in on $eth0 proto tcp from any to port 22 keep state ( max-src-conn-rate 5/300, overload <BF> flush global )
block drop log quick from <BF>
pass in proto {tcp,udp} from any to port 53 keep state
pass in inet proto tcp from any to port 311
pass in inet proto udp from any port 626 to port 626
pass in inet proto tcp from any to port 80
...and 8 more line(s)
Contents of /etc/syslog.conf
install.* @127.0.0.1:32376
local6.warn /Library/Logs/Mail/mailaccess.log
Contents of /etc/ssh_config
Host *
SendEnv LANG LC_*
GSSAPIAuthentication yes
GSSAPIDelegateCredentials no
GSSAPIKeyExchange no
GSSAPITrustDNS no
Contents of /etc/sshd_config
SyslogFacility AUTHPRIV
AuthorizedKeysFile .ssh/authorized_keys
KerberosAuthentication yes
KerberosOrLocalPasswd yes
KerberosTicketCleanup yes
GSSAPIAuthentication yes
GSSAPICleanupCredentials yes
GSSAPIStrictAcceptorCheck yes
GSSAPIKeyExchange no
AcceptEnv LANG LC_*
Subsystem sftp /usr/libexec/sftp-server
Contents of /System/Library/LaunchAgents/com.apple.SafariNotificationAgent.plist (XML document text)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.SafariNotificationAgent</string>
<key>LaunchEvents</key>
<dict>
<key>com.apple.usernotificationcenter.matching</key>
<dict>
<key>com.apple.SafariNotificationAgent</key>
<dict>
<key>events</key>
<array>
<string>didDeliverNotification</string>
<string>didActivateNotification</string>
</array>
<key>webcenter</key>
<true/>
</dict>
</dict>
</dict>
<key>KeepAlive</key>
<false/>
<key>MachServices</key>
...and 8 more line(s)
Contents of /System/Library/LaunchDaemons/com.apple.pfctl.plist (XML document text)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<false/>
<key>Label</key>
<string>com.apple.pfctl</string>
<key>WorkingDirectory</key>
<string>/var/run</string>
<key>UserName</key>
<string>root</string>
<key>GroupName</key>
<string>wheel</string>
<key>Program</key>
<string>/sbin/pfctl</string>
<key>ProgramArguments</key>
<array>
<string>pfctl</string>
<string>-e</string>
<string>-f</string>
<string>/etc/pf.conf</string>
</array>
<key>RunAtLoad</key>
<true/>
...and 2 more line(s)
Contents of /System/Library/LaunchDaemons/com.apple.rpmuxd.plist (Apple binary property list)
bplist00” \MachServices_ ProgramArgumentsULabel— _ com.apple.rpmuxd ° _ /usr/libexec/rpmuxd /58KLN
Contents of /System/Library/LaunchDaemons/com.apple.usbmuxd.plist (XML document text)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>KeepAlive</key>
<true/>
<key>RunAtLoad</key>
<true/>
<key>Label</key>
<string>com.apple.usbmuxd</string>
<key>ProgramArguments</key>
<array>
<string>/System/Library/PrivateFrameworks/MobileDevice.framework/Versions/A/Res ources/usbmuxd</string>
<string>-launchd</string>
</array>
<key>UserName</key>
<string>_usbmuxd</string>
<key>GroupName</key>
<string>_usbmuxd</string>
<key>Sockets</key>
<dict>
<key>Listeners</key>
<dict>
<key>SockFamily</key>
<string>Unix</string>
...and 12 more line(s)
Contents of /System/Library/LaunchDaemons/com.apple.xprotectupdater.plist (XML document text)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.apple.xprotectupdater</string>
<key>ProgramArguments</key>
<array>
<string>/usr/libexec/XProtectUpdater</string>
</array>
<key>RunAtLoad</key>
<true/>
<key>StartCalendarInterval</key>
<dict>
<key>Hour</key>
<integer>8</integer>
<key>Minute</key>
<integer>40</integer>
</dict>
</dict>
</plist>
Contents of /System/Library/LaunchDaemons/com.vix.cron.plist (XML document text)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.vix.cron</string>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/cron</string>
<string>-x</string>
<string>misc</string>
</array>
<key>KeepAlive</key>
<dict>
<key>PathState</key>
<dict>
<key>/etc/crontab</key>
<true/>
</dict>
</dict>
<key>QueueDirectories</key>
<array>
<string>/usr/lib/cron/tabs</string>
</array>
...and 6 more line(s)
Contents of /System/Library/LaunchDaemons/org.apache.httpd.plist (XML document text)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Disabled</key>
<true/>
<key>EnvironmentVariables</key>
<dict>
<key>SERVER_INSTALL_PATH_PREFIX</key>
<string>/Applications/Server.app/Contents/ServerRoot</string>
<key>XPC_SERVICES_UNAVAILABLE</key>
<string>1</string>
</dict>
<key>Label</key>
<string>org.apache.httpd</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/usr/sbin/httpd</string>
<string>-D</string>
<string>FOREGROUND</string>
<string>-f</string>
<string>/Library/Server/Web/Config/apache2/httpd_server_app.conf</string>
<string>-D</string>
...and 6 more line(s)
Contents of /System/Library/LaunchDaemons/org.postfix.master.plist (XML document text)
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>AbandonProcessGroup</key>
<true/>
<key>Label</key>
<string>org.postfix.master</string>
<key>OnDemand</key>
<false/>
<key>Program</key>
<string>/usr/libexec/postfix/master</string>
<key>ProgramArguments</key>
<array>
<string>master</string>
<string>-c</string>
<string>/Library/Server/Mail/Config/postfix</string>
</array>
<key>QueueDirectories</key>
<array>
<string>/Library/Server/Mail/Data/spool/maildrop</string>
</array>
</dict>
</plist>
Root crontab
# Launch script updateing price & rests
0 8,14,20 * * * /usr/bin/php ~/Sites/bautherm.ru/docs/admin/update-cron.php
0 23 * * * /usr/bin/php ~/Sites/bautherm.ru/docs/admin/search-index-cron.php
#*/5 * * * * /usr/bin/php ~/Sites/bautherm.ru/docs/admin/video-convert-cron-new.php.php
#*/5 * * * * /usr/bin/curl -s -O /dev/null -o http://www.c-o-k.ru/djvu_to_pdf_converter/index.php
0 23 * * * /usr/bin/php ~/Sites/hydroservice.ru/docs/admin/grab-dogovor.php
# Launch megascript sending mails
#*/7 * * * * /usr/bin/curl -s -O /dev/null -o /tmp/sendmail.log http://www.c-o-k.ru/mail_send.php
*/6 * * * * /usr/bin/curl -s -O /dev/null -o /tmp/sendmail_bautherm.log http://www.bautherm.ru/mail_send.php
#*/10 * * * * /usr/bin/php ~/Sites/c-o-k.ru/docs/admin/automailer-cron.php
*/4 * * * * /usr/bin/curl -s -O /dev/null http://forum.c-o-k.ru/test_login.php
# Launch Vacancy Grabbing Super-Puper Script
#* */2 * * * /usr/bin/php ~/Sites/job.c-o-k.ru/docs/admin/job-grab.php
#5 9,20 * * * /bin/sh /private/var/root/bin/check-alt.sh
#1 0 * * * /bin/sh /private/var/root/bin/recheck_mem.sh
#*/1 * * * * /bin/sh /private/var/root/bin/ddosfinder.sh
#
# Hydrosfera scripts
6 22 * * * /usr/bin/curl -s -O /dev/null http://www.hydrosfera.ru/scripts/scripts.php?action=sitemap
5 3 * * * /usr/bin/curl -s -O /tmp/bausync.log http://www.hydrosfera.ru/scripts/scripts.php?action=import&filename=baupdate.txt
# Syncing sites
*/55 * * * * /bin/sh /private/var/root/bin/syncsites.sh
Bad plists
/Library/Preferences/com.apple.Proxy65.plist
/Library/Preferences/com.apple.serverd.plist
Firewall: On
DNS: 127.0.0.1 (static)
TCP/IP
Subnet mask: 255.255.255.252
Listeners
launchd: afpovertcp
launchd: dec_dlm
launchd: microsoft-ds
launchd: ssh
launchd: ftp
launchd: asip-webadmin
master: smtp
master: submission
kdc: kerberos
dovecotd: pop3
dovecotd: pop3s
dovecotd: imap
dovecotd: imaps
imap-login: imap
imap-login: imaps
postscreen: smtp
servermgrd: asip-webadmin
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: http
httpd: https
httpd: http
httpd: http
User login items
iTunesHelper
- /Applications/iTunes.app/Contents/MacOS/iTunesHelper.app
Restricted files: 454
Elapsed time (s): 3777
Mac mini, OS X Mountain Lion (10.8.5)