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!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Witam
miałem serwer z Debianem etch działającym od 2008 roku, na nim hulała SAMBA i udostępniała dane.
Przyszedł nowy serwer, zainstalowałem na nim Squeeze, skonfigurowałem SAMBE i tutaj zaczęły się problemy.
Panie zaczęły narzekać na wolne działanie swoich programów FK/KADRY.
Programy na bazach dbf
przejrzałem i kombinowałem z różnymi ustawieniami niestety bez skutku. Spędziłem nad tym kilka dni bez skutku.
Programu dużo wolniej działają niż przed zmianą sprzętu, chociaż sprzet jest DUŻO bardziej wydajny.
moja aktualna konfiguracja smb.conf
[global] read raw = no load printers = no write raw = no socket options = TCP_NODELAY deadtime = 15 follow symlinks = yes encrypt passwords = yes blocking locks = no level2 oplocks = no wins support = true unix extensions = no netbios name = SERWERJSS oplocks = no locking = no wide links = yes server string = SERWER veto oplock files = /*.mdb/*.MDB/*.DBF/*.dbf/*.EXE/*.exe/ workgroup = Workgroup debug level = 0 os level = 70 printcap name = /etc/printcap security = user log level = 2 [kopia] browseable = no writeable = yes path = /mnt/JSS_DANE force directory mode = 777 force create mode = 777 valid users = AGATAO,gobit,test1,grzegorz create mode = 777 directory mode = 777 [handlowy] browseable = no writeable = yes path = /mnt/JSS_DANE/handlowy force directory mode = 777 force create mode = 777 valid users = grzegorz create mode = 777 directory mode = 777 [finanse] browseable = no writeable = yes path = /mnt/JSS_DANE/finanse write list = grzegorz force directory mode = 777 force create mode = 777 valid users = grzegorz create mode = 777 directory mode = 777 [place] browseable = no writeable = yes path = /mnt/JSS_DANE/place force directory mode = 777 force create mode = 777 valid users = AGATAO,gobit,test1,grzegorz,kadry create mode = 777 directory mode = 777 [programy] force create mode = 777 browseable = no valid users = grzegorz writeable = yes create mode = 777 path = /mnt/JSS_DANE/programy force directory mode = 777 directory mode = 777 [mariolar] writeable = yes valid users = mariolar path = /home/mariolar directory mode = 777 force directory mode = 777 create mode = 777 [agatao] writeable = yes path = /home/agatao valid users = agatao directory mode = 777 force directory mode = 777 create mode = 777 [anitap] browseable = no valid users = anitap writeable = yes path = /home/anitap directory mode = 777 force directory mode = 777 create mode = 777 [elzbietal] browseable = no valid users = elzbietal writeable = yes path = /home/elzbietal directory mode = 777 force directory mode = 777 create mode = 777 [janinab] browseable = no writeable = yes valid users = janinab path = /home/janinab directory mode = 777 force directory mode = 777 create mode = 777 [ewab] browseable = no writeable = yes valid users = ewab create mode = 777 path = /home/ewab force directory mode = 777 directory mode = 777 [grzegorz] force create mode = 777 writeable = yes valid users = grzegorz create mode = 777 path = /home/grzegorz force directory mode = 777 directory mode = 777 [jurek] browseable = no writeable = yes path = /home/jurek force directory mode = 777 force create mode = 777 valid users = jurek create mode = 777 directory mode = 777 [monika] force create mode = 777 browseable = no writeable = yes valid users = monika create mode = 777 path = /home/monika force directory mode = 777 directory mode = 777 [ewaki] browseable = no writeable = yes create mode = 777 path = /home/ewaki directory mode = 777 [agnieszkag] browseable = no writeable = yes create mode = 777 path = /home/agnieszkag directory mode = 777 [sylwias] browseable = no writeable = yes create mode = 777 path = /home/sylwias directory mode = 777 [agnieszkaw] browseable = no writeable = yes create mode = 777 path = /home/agnieszkaw directory mode = 777 [piekarnia] writeable = yes path = /home/piekarnia [KOPIE_JSS] writeable = yes valid users = mariolar create mode = 777 path = /mnt/sda1/KOPIE_JSS directory mode = 777
Offline
Kiedyś czytałem na jakimś forum że na wyższej wersji samby takie rzeczy się działy. Jak masz kopię starego systemu to możesz za pomocą chroota uruchomić sambę.
Offline
czy poradziłeś sobie z tym problemem ?
Ostatnio edytowany przez mihoo_koz (2013-11-20 10:59:03)
Offline
Ja mam jeden program na takich bazach i u mnie chodzi szybko.
Offline
[quote=guzzi]Ja mam jeden program na takich bazach i u mnie chodzi szybko.[/quote]
zapodasz config samby ?
Offline
Już go gdzieś podawałem, ale co mi tam
[global] dos charset = CP852 unix charset = ISO8859-2 workgroup = Firma server string = %h server (Samba %v) interfaces = 192.168.0.5/24, 127.0.0.1/32 bind interfaces only = Yes passwd program = /usr/bin/passwd %u password level = 8 unix password sync = Yes log level = 2 log file = /var/log/samba/log.%m smb ports = 139 445 name resolve order = lmhosts wins bcast hosts time server = Yes deadtime = 60 keepalive = 15 socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192 IPTOS_LOWDELAY printcap name = cups add user script = /usr/sbin/useradd -m %u delete user script = /usr/sbin/userdel -r %u add group script = /usr/sbin/gropuadd %g delete group script = /usr/script/groupdel %g add user to group script = /usr/sbin/groupmod -A %u %g delete user from group script = /usr/sbin/groupmod -R %u %g add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/nobody %u logon script = logon.bat logon path = \\%L\Profiles\%U logon home = \\%L\%U\profile domain logons = Yes os level = 255 preferred master = Yes domain master = Yes dns proxy = No wins support = Yes oplock break wait time = 10 panic action = /var/log/samba/panic-action %d admin users = root, adam read only = No hosts allow = 192.168.0., 127.0.0. hosts deny = ALL nt acl support = No oplock contention limit = 5 strict locking = No [program] comment = Katalog program path = /home/program valid users = @program read list = @program write list = @program force group = program create mask = 0770 force create mode = 0770 directory mask = 0770 force directory mode = 0770 oplocks = No level2 oplocks = No dos filetime resolution = Yes
Ostatnio edytowany przez guzzi (2013-11-21 13:32:05)
Offline
[quote=guzzi]Już go gdzieś podawałem, ale co mi tam[/quote]
Dzięki
Offline
Time (s) | Query |
---|---|
0.00011 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00105 | 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='18.220.242.160' WHERE u.id=1 |
0.00063 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.220.242.160', 1732515222) |
0.00046 | SELECT * FROM punbb_online WHERE logged<1732514922 |
0.00057 | DELETE FROM punbb_online WHERE ident='18.116.12.7' |
0.00059 | DELETE FROM punbb_online WHERE ident='3.133.128.171' |
0.00075 | DELETE FROM punbb_online WHERE ident='3.137.176.213' |
0.00079 | DELETE FROM punbb_online WHERE ident='57.141.0.30' |
0.00098 | SELECT topic_id FROM punbb_posts WHERE id=231914 |
0.00132 | SELECT id FROM punbb_posts WHERE topic_id=23367 ORDER BY posted |
0.00055 | 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=23367 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00084 | 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=23367 ORDER BY p.id LIMIT 0,25 |
0.00074 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=23367 |
Total query time: 0.00947 s |