Jump to content

[Problem]The mystery of opened files


Recommended Posts

Hi.
I've got a problem and a question at the same time. With m2server switched off, the number of opened files on machine is about 600 (freebsd 9.2, 64bit). After starting 2 m2servers the same number in a blink of eye increases to 3000 and then gets bigger and bigger. At the moment, after 10 hours after m2servers launch, I've got 12000 opened files. I've searched all quests for opening file without closing it after use. The problem is that listing of these files returns neither their names nor paths. Instead of filename is (none). Below you've got a sample of listing opened files.
Do you have any idea for closing these files or diagnose and fix for this problem?
Sample:

game      79870  root   87u    unix 0xfffffe0e7cb5c2a8                0t0           ->(none)
game      79870  root   88u    unix 0xfffffe0e7304ed48                0t0           ->(none)
game      79870  root   89u    unix 0xfffffe0e73c76d48                0t0           ->(none)
game      79870  root   90u    unix 0xfffffe0e73db8000                0t0           ->(none)
game      79870  root   91u    unix 0xfffffe0e6d9d1aa0                0t0           ->(none)
game      79870  root   92u    unix 0xfffffe0e6ddad7f8                0t0           ->(none)
game      79870  root   93u    unix 0xfffffe0e73db1000                0t0           ->(none)
game      79870  root   94u    unix 0xfffffe0e6dbf5550                0t0           ->(none)
Link to comment
Share on other sites

  • Replies 8
  • Created
  • Last Reply

Top Posters In This Topic

Yes, in spoiler are difs which I used. I used dif for pet system too (which have 3000 lines).

summon in group
001249F0: 55 C3
 
license
000A5D62: 7E EB
 
npc get vid
0014E673: 53 56
0014E674: 83 53
0014E675: EC 83
0014E676: 24 EC
0014E677: A1 20
0014E678: F8 8B
0014E679: 28 0D
0014E67A: 4C 20
0014E67B: 08 37
0014E67C: 89 4C
0014E67D: 45 08
0014E67E: F8 A1
0014E67F: 31 F8
0014E680: C0 28
0014E681: A1 4C
0014E682: 20 08
0014E683: 37 89
0014E684: 4C 45
0014E685: 08 F4
0014E686: 85 31
0014E688: 74 8B
0014E689: 74 75
0014E68A: A1 08
0014E68B: 20 90
0014E68C: 37 90
0014E68D: 4C 90
0014E68E: 08 90
0014E68F: 89 90
0014E690: 04 85
0014E691: 24 C9
0014E692: E8 74
0014E693: 59 5C
0014E694: FE A1
0014E695: 00 20
0014E696: 00 37
0014E697: 85 4C
0014E698: C0 08
0014E69A: C3 04
0014E69B: 74 24
0014E69C: 07 E8
0014E69D: 8B 4F
0014E69E: 40 FE
0014E69F: 24 00
0014E6A0: 85 00
0014E6A1: C0 85
0014E6A2: 74 C0
0014E6A3: 13 75
0014E6A4: 31 2F
0014E6A5: C0 C7
0014E6A6: 8B 44
0014E6A7: 55 24
0014E6A8: F8 04
0014E6A9: 33 00
0014E6AA: 15 00
0014E6AB: F8 00
0014E6AC: 28 00
0014E6AD: 4C C7
0014E6AE: 08 44
0014E6AF: 75 24
0014E6B0: 76 08
0014E6B1: 83 00
0014E6B2: C4 00
0014E6B3: 24 00
0014E6B4: 5B 00
0014E6B5: 5D 89
0014E6B6: C3 34
0014E6B7: 89 24
0014E6B8: 1C E8
0014E6B9: 24 03
0014E6BA: E8 63
0014E6BB: 31 18
0014E6BC: 38 00
0014E6BD: ED 8B
0014E6BE: FF 55
0014E6BF: 66 F4
0014E6C0: 3D 33
0014E6C1: 3F 15
0014E6C2: 4E F8
0014E6C3: 75 28
0014E6C4: DF 4C
0014E6C5: C7 08
0014E6C6: 44 B8
0014E6C7: 24 01
0014E6C8: 04 00
0014E6C9: 5F 00
0014E6CB: 00 75
0014E6CC: 00 4C
0014E6CD: 89 83
0014E6CE: 1C C4
0014E6CF: 24 20
0014E6D0: E8 5B
0014E6D1: 3B 5E
0014E6D2: 56 5D
0014E6D3: ED C3
0014E6D4: FF 8B
0014E6D5: C7 80
0014E6D6: 04 FC
0014E6D7: 24 00
0014E6DA: 00 52
0014E6DB: 00 50
0014E6DC: 83 DB
0014E6DD: E8 04
0014E6DE: 01 24
0014E6DF: 89 83
0014E6E0: 44 C4
0014E6E1: 24 08
0014E6E2: 04 DD
0014E6E3: E8 5C
0014E6E4: 68 24
0014E6E5: F6 04
0014E6E6: 17 89
0014E6E7: 00 34
0014E6E8: C7 24
0014E6E9: 44 E8
0014E6EA: 24 D2
0014E6EB: 04 62
0014E6EC: 5F 18
0014E6EE: 00 EB
0014E6EF: 00 CD
0014E6F0: 89 C7
0014E6F1: 1C 44
0014E6F3: 89 0C
0014E6F4: 44 E4
0014E6F5: 24 7B
0014E6F6: 08 33
0014E6F7: E8 08
0014E6F8: 74 C7
0014E6F9: 90 44
0014E6FA: ED 24
0014E6FB: FF 08
0014E6FC: EB 1A
0014E6FD: A6 00
0014E6FE: C7 00
0014E6FF: 44 00
0014E700: 24 C7
0014E701: 0C 44
0014E702: E4 24
0014E703: 7B 04
0014E704: 33 CA
0014E705: 08 7B
0014E706: C7 33
0014E707: 44 08
0014E708: 24 C7
0014E709: 08 04
0014E70A: 1A 24
0014E70B: 00 50
0014E70C: 00 A4
0014E70D: 00 35
0014E70E: C7 08
0014E70F: 44 E8
0014E710: 24 98
0014E711: 04 64
0014E712: CA EB
0014E713: 7B FF
0014E714: 33 E9
0014E715: 08 7B
0014E716: C7 FF
0014E717: 04 FF
0014E718: 24 FF
0014E719: 50 E8
0014E71A: A4 5E
0014E71B: 35 6A
0014E71C: 08 EB
0014E71D: E8 FF
0014E71E: 8A 90
0014E71F: 64 90
0014E720: EB 90
0014E721: FF 90
0014E722: E9 90
00312361: 64 67
00312363: 63 74
00312365: 72 76
00312366: 65 69
00312367: 6D 64
00312368: 61 00
 
 
 
kickhack fix
000E5FE4: C7 90
000E5FE5: 45 90
000E5FE6: C4 90
000E5FE7: FF 90
000E5FE8: FF 90
000E5FE9: FF 90
000E5FEA: FF 90
000E5FEB: 39 90
000E5FEC: D0 90
000E5FED: 0F 90
000E5FEE: 87 90
000E5FEF: EF 90
000E5FF0: 00 90
000E5FF1: 00 90
000E5FF2: 00 90
000E5FFB: 0F E9
000E5FFC: 88 E2
000E5FFD: 69 00
000E5FFE: 03 00
 
 
 
disable do_dice
0007CC20: 55 C3
 
change name fix
00154E41: FB 8B
00154E42: DB DC
 
new bin
0004A878: A7 AB
0004A88B: B3 B7
0004A8A4: 2C 30
000A2CF0: 80 EB
000A2CF1: BF 20
000A4CD5: 80 EB
000A4CD6: BE 0B
000D062E: 01 00
000D13BE: 01 00
0018161F: A1 90
00181620: F8 90
00181621: 28 90
00181622: 4C 90
00181623: 08 90
00181624: 89 90
00181625: 45 90
00181626: F0 90
00181670: 8B 90
00181671: 55 90
00181672: F0 90
00181673: 33 90
00181674: 15 90
00181675: F8 90
00181676: 28 90
00181677: 4C 90
00181678: 08 90
00181679: 0F 90
0018167A: 85 90
0018167B: 7A 90
0018167C: 01 90
0018167D: 00 90
0018167E: 00 90
00181741: CF D3
00181754: DB DF
0018176E: 2C 30
 
 
drop hack fix
0004E2A8: E8 B8
0004E2D2: E8 B8
0004E2E5: E8 B8
0004E2FD: E8 B8
0004E30E: E8 B8
0004E344: E8 B8
0004E375: E8 B8
0004E39B: E8 B8
0004E3A9: E8 B8
0004E3C8: E8 B8
0004E3E2: E8 B8
0004E3F0: E8 B8
0004E40F: E8 B8
0004E4CC: E8 B8
0004E62B: E8 B8
0004E646: E8 B8
 
 
chance to get pearl from mollusc
000B7809: 02 30
000B780B: 85 82
 
 
sequence
000D1AFF: E8 90
000D1B00: 6C 90
000D1B01: BF 90
000D1B02: 1F 90
000D1B03: 00 90
000D1B35: E8 90
000D1B36: B2 90
000D1B37: 31 90
000D1B38: F3 90
000D1B39: FF 90
000D1BE0: E8 90
000D1BE1: 07 90
000D1BE2: 31 90
000D1BE3: F3 90
000D1BE4: FF 90
000D1C5F: E8 90
000D1C60: 88 90
000D1C61: 30 90
000D1C62: F3 90
000D1C63: FF 90
000D1C85: E8 90
000D1C86: E6 90
000D1C87: BD 90
000D1C88: 1F 90
000D1C89: 00 90
000D1CEC: E8 90
000D1CED: 7F 90
000D1CEE: BD 90
000D1CEF: 1F 90
000D1CF0: 00 90
 
 
npc get level
0014E762: 89 90
0014E763: C3 90
0014E764: 74 75
0014E765: 07 61
0014E766: 8B 90
0014E767: 50 90
0014E768: 24 90
0014E769: 85 90
0014E76A: D2 90
0014E76B: 74 90
0014E76C: 33 90
0014E7C7: 24 0F
0014E7C8: 04 B6
0014E7C9: E8 80
0014E7CA: 82 0A
0014E7CB: F5 05
0014E7CC: 17 00
00312349: 72 6C
0031234B: 6D 76
0031234C: 61 65
0031234D: 69 6C
0031234E: 6E 00
 
 
temp gm fix
00024410: C6 90
000E19B0: C6 90
000E19B6: 05 90
00024416: 05 90
 
 
item attr 1-5 chance
002FF940: 50 64
002FF944: 3C 64
002FF948: 32 64
002FF94C: 1E 64
 
turn on syslogs
002CD3F0: C3 55

Link to comment
Share on other sites

  • 1 month later...

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.