Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2006-05-11 19:51:19

  Nickleodeon - Członek DUG

Nickleodeon
Członek DUG
Skąd: Drawsko Pomorskie
Zarejestrowany: 2005-08-19

squd + proxy-arp z zewn IP w LANie = klopoty

Od pewnego czsu zaobserwowalem spowolnienie przcy sieci jezeli chodzi o WWW. Mam transp. proxy i to 'od niedawna' znaczy od momentu wpuszczenia dla miskow zewn. IP zaczely sie klopoty ze squidem.
w logach mam cos takiego:

[i][color=blue]2006/05/11 17:23:28| parseHttpRequest: Requestheader contains NULL characters
2006/05/11 17:23:28| clientReadRequest: FD 46 Invalid Request
2006/05/11 18:15:56| storeDirWriteCleanLogs: Starting...
2006/05/11 18:15:56| WARNING: Closing open FD   10
2006/05/11 18:15:56|     65536 entries written so far.
2006/05/11 18:15:56|   Finished.  Wrote 122776 entries.
2006/05/11 18:15:56|   Took 0.1 seconds (1042002.3 entries/sec).
[b]FATAL: logfileWrite: /var/logs/access.log: (42) No message of desired type
[/b]
Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 479.610 seconds = 181.350 user + 298.260 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 506
Memory usage for squid via mallinfo():
        total space in arena:   78772 KB
        Ordinary blocks:        78696 KB   3556 blks
        Small blocks:               0 KB      0 blks
        Holding blocks:          1572 KB      1 blks
        Free Small blocks:          0 KB
        Free Ordinary blocks:      76 KB
        Total in use:           80268 KB 102%
        Total free:                76 KB 0%
[/color][/i]

Przy samoczynnej probie reanimacji wywala mi blady:

[i][color=blue]2006/05/11 18:15:59| Starting Squid Cache version 2.5.STABLE6 for i386-redhat-linux-gnu...
2006/05/11 18:15:59| Process ID 24582
2006/05/11 18:15:59| With 8192 file descriptors available
2006/05/11 18:15:59| DNS Socket created at 0.0.0.0, port 33666, FD 4
2006/05/11 18:15:59| Adding nameserver 194.204.152.34 from squid.conf
2006/05/11 18:15:59| Adding nameserver 192.168.1.1 from squid.conf
2006/05/11 18:15:59| Adding nameserver 217.98.63.164 from squid.conf
2006/05/11 18:15:59| Unlinkd pipe opened on FD 9
2006/05/11 18:15:59| Swap maxSize 1048576 KB, estimated 80659 objects
2006/05/11 18:15:59| Target number of buckets: 4032
2006/05/11 18:15:59| Using 8192 Store buckets
2006/05/11 18:15:59| Max Mem  size: 131072 KB
2006/05/11 18:15:59| Max Swap size: 1048576 KB
2006/05/11 18:15:59| Store logging disabled
2006/05/11 18:15:59| Rebuilding storage in /squid (CLEAN)
2006/05/11 18:15:59| Using Least Load store dir selection
2006/05/11 18:15:59| Current Directory is /root
2006/05/11 18:15:59| Loaded Icons.
2006/05/11 18:16:00| Accepting HTTP connections at 0.0.0.0, port 8080, FD 10.
2006/05/11 18:16:00| Accepting ICP messages at 0.0.0.0, port 3130, FD 12.
2006/05/11 18:16:00| Accepting HTCP messages on port 4827, FD 13.
2006/05/11 18:16:00| Accepting SNMP messages on port 3401, FD 14.
2006/05/11 18:16:00| WCCP Disabled.
2006/05/11 18:16:00| Ready to serve requests.
2006/05/11 18:16:00| Store rebuilding is  3.3% complete
2006/05/11 18:16:04| Done reading /squid swaplog (122776 entries)
2006/05/11 18:16:04| Finished rebuilding storage from disk.
2006/05/11 18:16:04|    122776 Entries scanned
2006/05/11 18:16:04|         0 Invalid entries.
2006/05/11 18:16:04|         0 With invalid flags.
2006/05/11 18:16:04|    122776 Objects loaded.
2006/05/11 18:16:04|         0 Objects expired.
2006/05/11 18:16:04|         0 Objects cancelled.
2006/05/11 18:16:04|         0 Duplicate URLs purged.
2006/05/11 18:16:04|         0 Swapfile clashes avoided.
2006/05/11 18:16:04|   Took 4.6 seconds (26803.7 objects/sec).
2006/05/11 18:16:04| Beginning Validation Procedure
2006/05/11 18:16:04|   Completed Validation Procedure
2006/05/11 18:16:04|   Validated 122776 Entries
2006/05/11 18:16:04|   store_swap_size = 943716k
2006/05/11 18:16:04| storeLateRelease: released 0 objects
2006/05/11 18:16:05| storeDirWriteCleanLogs: Starting...
2006/05/11 18:16:05|     65536 entries written so far.
2006/05/11 18:16:05|   Finished.  Wrote 122777 entries.
2006/05/11 18:16:05|   Took 0.1 seconds (1155211.2 entries/sec).
[b]FATAL: logfileWrite: /var/logs/access.log: (28) No space left on device
[/b]
Squid Cache (Version 2.5.STABLE6): Terminated abnormally.
CPU Usage: 4.410 seconds = 2.380 user + 2.030 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 485
[/color][/i]

Nie mam juz sily i .... czasu.  Miskom net poscilem bez proxy, ale to jest tymczasowe rozwiazanie.

1. Gdzie moga byc bledy?
2. Czy moze mi ktos lopatologicznie wytlumaczyc te komunikaty?

[b][color=red]FATAL: logfileWrite: /var/logs/access.log: (42) No message of desired type

FATAL: logfileWrite: /var/logs/access.log: (28) No space left on device[/color]
[/b]

3. Czy wywalanie sie squida moze byc spowodowane zewn. IP wewnatrz LANu?
Pozdowka i dzieki za ew. podpowiedzi.

Offline

 

#2  2006-05-11 19:57:43

  BiExi - matka przelozona

BiExi
matka przelozona
Skąd: Gorlice
Zarejestrowany: 2004-04-16
Serwis

Re: squd + proxy-arp z zewn IP w LANie = klopoty

co do tego

FATAL: logfileWrite: /var/logs/access.log: (28) No space left on device


sprawdz czy masz jeszcze miejsce na partycji podmontowanje jako /


[url=http://dug.net.pl][b]DUG[/b][/url]

Offline

 

#3  2006-05-12 19:35:48

  Nickleodeon - Członek DUG

Nickleodeon
Członek DUG
Skąd: Drawsko Pomorskie
Zarejestrowany: 2005-08-19

Re: squd + proxy-arp z zewn IP w LANie = klopoty

Dzieki, faktycznie uzycie bylo 100% = 0 miejsca.
Mam nadzieje ze pomoze.

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
To nie jest tylko forum, to nasza mała ojczyzna ;-)

[ Generated in 0.009 seconds, 12 queries executed ]

Informacje debugowania

Time (s) Query
0.00011 SET CHARSET latin2
0.00005 SET NAMES latin2
0.00140 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.14.130.63' WHERE u.id=1
0.00118 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.14.130.63', 1738386113)
0.00074 SELECT * FROM punbb_online WHERE logged<1738385813
0.00107 DELETE FROM punbb_online WHERE ident='34.235.239.240'
0.00005 SELECT topic_id FROM punbb_posts WHERE id=28338
0.00005 SELECT id FROM punbb_posts WHERE topic_id=3631 ORDER BY posted
0.00075 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=3631 AND t.moved_to IS NULL
0.00008 SELECT search_for, replace_with FROM punbb_censoring
0.00100 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=3631 ORDER BY p.id LIMIT 0,25
0.00121 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=3631
Total query time: 0.00769 s