• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Zabezpieczenie serwera

Status
Not open for further replies.

marian1

O RLY?
Joined
May 22, 2009
Messages
88
Reaction score
0
Szukam kogos kto za oplata zidentyfikuje i wyeliminuje problem z crashami serwera powodowanymi przez graczy. Mozliwa stala wspolpraca. Tylko powazne oferty. Oferty prosze przesylac przez wiadomosc prywatna.
pozdrawiam
 
Nie czepiaj sie szczegolow. Oboje doskonale wiemy o jaki silnik chodzi.
 
Ja rozumiem ze nikt nie chce sensownie pomoc za darmo ale nikt nie jest zainteresowany zarobkiem? I jezeli pomoc okaze sie skuteczna to nie byloby 50 czy 100zl...
 
@Up:
Kurwa mać zrobiliście sobie pogaduszki w temacie, który nie jest z tym związany.
Piszczcie sobie na pw lub gg takie rzeczy. Wkurwiacie tylko ludzi durnymi postami nie chcesz pomóc to wypierdalaj z tematu.
Na tym Otland od kilku miesięcy dzieje sie taki syf, a nikt na to nie reaguje.
Co poniektórzy pokazują taki poziom, że to chuj.

@Topic:
Koleś ma dosyć dziwny problem.
 
01b70c1d9c32.png
 
Procek intel i7 2,67ghz, 8gb ram, load na poziomie 1-1.5. Przy crashu nie ma jakiegos wielkiego skoku obciazenia - wyglada on podobnie jak crash przy wrzuceniu dwoch fioletowych ogni na siebie w domku - wywala serwer z segmentation fault. Szukam kogos kto zna jeszcze takie 'bugi' i udostepni info o nich abym mogl je sobie wyeliminowac. Nie jest to raczej tez icmp spam - zdropowane to mam, na port 7171 oraz 80 tez nie mam jakos wielkiego natloku pakietow... (zwykle max 5-10 polaczen z jednego ip)
 
Włącz auto ban za wysyłanie pakietów.
 
@up
chuja to daje w zwiazku z crashami, banuje tylko noob boty.

@topic
Core dumpa zrzua przy crashu ? Kup donatora i zmien silnik na np r.2957.
 
Duża ilość wysyłanych pakietów może serwa crashować?
 
Przeciez napisalem ze nikt nie wysyla za duzo pakietow bo bym to widzial...
Chodzi mi raczej o te bugi ktore powoduja crasha w stylu tych fioletowych ogni, zabijania kogos stojac w wodzie czy w studni. Zza ktos wiecej takich?
@koob: 2957 mi sie w ogole nie kompiluje -
Code:
101:/home/ots/test035/trunk.r2957# make
make  all-am
make[1]: Entering directory `/home/ots/test035/trunk.r2957'
g++ -DHAVE_CONFIG_H -I.    -I/usr/include/libxml2  -I/usr/include/lua5.1    -D__USE_MYSQL__      -D_THREAD_SAFE -D_REENTRANT -Wall -g -O1 -MT actions.o -MD -MP -MF .deps/actions.Tpo -c -o actions.o actions.cpp
In file included from actions.cpp:37:
house.h:23:39: error: boost/tr1/unordered_set.hpp: No such file or directory
In file included from actions.cpp:37:
house.h:76: error: 'std::tr1' has not been declared
house.h:76: error: ISO C++ forbids declaration of 'unordered_set' with no type
house.h:76: error: typedef name may not be a nested-name-specifier
house.h:76: error: expected ';' before '<' token
make[1]: *** [actions.o] Error 1
make[1]: Leaving directory `/home/ots/test035/trunk.r2957'
make: *** [all] Error 2
Przykladowe dumpy z crashy
Code:
Program terminated with signal 11, Segmentation fault.
[New process 2426]
[New process 2427]
[New process 2425]
#0  0x082263fe in Tile::__getThing (this=0x2a2f6098, index=2) at tile.cpp:1488
1488                    if(item && !item->isRemoved())
(gdb) bt
#0  0x082263fe in Tile::__getThing (this=0x2a2f6098, index=2) at tile.cpp:1488
#1  0x0817c2d5 in MoveEvents::onItemMove (this=0xb9422c0, actor=0x0, item=0xb112bb18, tile=0x2a2f6098, isAdd=false) at movement.cpp:572
#2  0x08226cf1 in Tile::postRemoveNotification (this=0x2a2f6098, actor=0x0, thing=0xb112bb4c, newParent=0x0, index=3, isCompleteRemoval=true, link=LINK_OWNER) at tile.cpp:1579
#3  0x080bc90a in Game::internalRemoveItem (this=0x82af380, actor=0x0, item=0xb112bb18, count=-1, test=false, flags=0) at game.cpp:1560
#4  0x080d3f79 in Game::cleanMap (this=0x82af380, count=@0xb6a88ea4) at game.cpp:305
#5  0x0812aeba in LuaScriptInterface::luaDoCleanMap (L=0xb6b9908) at luascript.cpp:9347
#6  0xb7ef3912 in ?? () from /usr/lib/liblua5.1.so.0
#7  0x0b6b9908 in ?? ()
#8  0x0b8473d8 in ?? ()
#9  0xb6a88ef8 in ?? ()
#10 0x00000048 in ?? ()
#11 0xb7efde13 in ?? () from /usr/lib/liblua5.1.so.0
#12 0x0b6b9908 in ?? ()
#13 0x0b8034b0 in ?? ()
#14 0x00000000 in ?? ()
Code:
Program terminated with signal 11, Segmentation fault.
[New process 2640]
[New process 2642]
[New process 2639]
#0  0x082263f8 in Tile::__getThing (this=0x2a2f4c00, index=2) at tile.cpp:1488
1488                    if(item && !item->isRemoved())
(gdb) bt
#0  0x082263f8 in Tile::__getThing (this=0x2a2f4c00, index=2) at tile.cpp:1488
#1  0x080d3ede in Game::cleanMap (this=0x82af380, count=@0xb6a9aea4) at game.cpp:302
#2  0x0812aeba in LuaScriptInterface::luaDoCleanMap (L=0xb836ab0) at luascript.cpp:9347
#3  0xb7f05912 in ?? () from /usr/lib/liblua5.1.so.0
#4  0x0b836ab0 in ?? ()
#5  0x0b841e88 in ?? ()
#6  0xb6a9aef8 in ?? ()
#7  0x00000048 in ?? ()
#8  0xb7f0fe13 in ?? () from /usr/lib/liblua5.1.so.0
#9  0x0b836ab0 in ?? ()
#10 0x0b8515a0 in ?? ()
#11 0x00000000 in ?? ()
Code:
Program terminated with signal 11, Segmentation fault.
[New process 2946]
[New process 2947]
[New process 2945]
#0  0xb2954028 in ?? ()
(gdb) bt
#0  0xb2954028 in ?? ()
#1  0x082290af in Tile::__queryDestination (this=0x2a2f3de0, index=@0xb6ae3040, thing=0xb14a4120, destItem=0xb6ae3010, flags=@0xb6ae3044) at tile.cpp:877
#2  0x080bcd9a in Game::internalAddItem (this=0x82af380, actor=0xb04f6428, toCylinder=0x18a60c68, item=0xb14a4100, index=-1, flags=0, test=false) at game.cpp:1477
#3  0x0806d4ae in Combat::combatTileEffects (list=@0xb6ae30c8, caster=0xb04f6428, tile=0x2a2f3de0, params=@0xb40a014) at combat.cpp:643
#4  0x0806ea39 in Combat::CombatFunc (caster=0xb04f6428, pos=@0xb6ae3184, area=0xb40a068, params=@0xb40a014,
    func=0x806acbc <Combat::CombatNullFunc(Creature*, Creature*, CombatParams const&, void*)>, data=0x0) at combat.cpp:761
#5  0x0806eccd in Combat::doCombat (this=0xb40a010, caster=0xb04f6428, pos=@0xb6ae3184) at combat.cpp:796
#6  0x0821010c in CombatSpell::castSpell (this=0xb40adc8, creature=0xb04f6428, target=0xdaf48d8) at spells.cpp:392
#7  0x081691bf in Monster::doAttacking (this=0xb04f6428, interval=500) at monster.cpp:616
#8  0x08094a0c in Creature::onAttacking (this=0xb04f6428, interval=500) at creature.cpp:229
#9  0x080981ae in Creature::onThink (this=0xb04f6428, interval=500) at creature.cpp:203
#10 0x0816cb53 in Monster::onThink (this=0xb04f6428, interval=500) at monster.cpp:541
#11 0x080bfa71 in Game::checkCreatures (this=0x82af380) at game.cpp:3935
#12 0x080d6919 in boost::detail::function::void_function_obj_invoker0<boost::_bi::bind_t<void, boost::_mfi::mf0<void, Game>, boost::_bi::list1<boost::_bi::value<Game*> > >, void>::invoke (function_obj_ptr=@0xae08c580) at /usr/include/boost/bind/mem_fn_template.hpp:49
#13 0x082237cc in boost::function0<void, std::allocator<void> >::operator() (this=0xae08c57c) at /usr/include/boost/function/function_template.hpp:825
#14 0x082235da in Dispatcher::dispatcherThread (p=0x0) at tasks.h:33
#15 0xb78a8f3b in start_thread () from /lib/libpthread.so.0
#16 0xb7985bee in clone () from /lib/libc.so.6
dwa pierwsze wygladaja na crashe podczas cleana ale ten trzeci?
 
Last edited:
@up
upgradnij boosta do najnowszego, co do dumpow to bledy na mapce - mialem dokladnie to samo. Player wchodzac po jakich schodach wpadal na sciane.

Mam w zrodlach dopisane zrzucanie pozycji ( taki debug ) do pliku, jak serwer crashnal to mialem w pliku ostatnia pozycje - czyli ta ktora powodowala crasha. Tylko strasznie to zasobozerne bylo.
 
Akurat o zasoby mi nie chodzi (mam wolne prawie 75% ramu i tyle samo procka). Usuniecie bugow jest wazniejsze. Podeslalbys ten kodzik tutaj lub na prv?
 
Status
Not open for further replies.
Back
Top