EMFILE (Too many open files)

This is the place for developers to discuss bugs, new features and everything else about code changes.

Google Ads


EMFILE (Too many open files)

Postby ktreese » Tue Mar 04, 2014 6:55 am

Hello,

My setup:

* My rsyslog server currently has 1184 ESTABLISHED connections from various rsyslog clients whereby messages with "Failed password" from /var/log/secure are sent to the server
* rsyslog server logs these messages via a specified template to ommysql

Out of curiosity, I just wanted to see what the rsyslogd process was doing so I ran an strace and came across this:

[pid 32549] 0.000117 select(1024, [2 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023], [], NULL, NULL) = 1 (in [5])
[pid 32549] 0.000404 accept(5, 0x43148190, [12973772664094064768]) = -1 EMFILE (Too many open files)

It would appear that rsyslog is still functioning as logs are still being written to the mysql database, however. I've increased my open files limit from 1024 to 2048, and restarted rsyslog to see if the problem goes away, but was curious to see cyclic nature of this error has been resolved per http://lists.adiscon.net/pipermail/rsys ... 34488.html.

Thank you
ktreese
New
 
Posts: 8
Joined: Tue Jan 28, 2014 11:35 pm

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Re: EMFILE (Too many open files)

Postby ktreese » Tue Mar 04, 2014 8:16 pm

after increasing ulimit -n to 2048, rsyslog crashes after a period of time (many hours later). I had an active strace running which provided the following output:

[pid 3474] 0.000035 writev(2, [{"*** glibc detected *** ", 23}, {"/sbin/rsyslogd", 14}, {": ", 2}, {"double free or corruption (!prev)", 33}, {": 0x", 4}, {"00002af97f6be0e0", 16}, {" ***\n", 5}], 7) = 97
[pid 3474] 0.000092 futex(0x2af967247fc0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
[pid 3474] 0.000055 futex(0x2af966ef2350, FUTEX_WAKE_PRIVATE, 2147483647) = 0
[pid 3474] 0.000125 write(2, "======= Backtrace: =========\n", 29) = 29
[pid 3474] 0.000052 writev(2, [{"/lib64/libc.so.6", 16}, {"[0x", 3}, {"2af966f63d7f", 12}, {"]\n", 2}], 4) = 33
[pid 3474] 0.000068 writev(2, [{"/lib64/libc.so.6", 16}, {"(", 1}, {"cfree", 5}, {"+0x", 3}, {"4b", 2}, {")", 1}, {"[0x", 3}, {"2af966f641db", 12}, {"]\n", 2}], 9) = 45
[pid 3474] 0.000042 writev(2, [{"/lib64/rsyslog/lmnsd_ptcp.so", 28}, {"(", 1}, {"nsdsel_ptcpDestruct", 19}, {"+0x", 3}, {"1d", 2}, {")", 1}, {"[0x", 3}, {"2af96b132bfd", 12}, {"]\n", 2}], 9) = 71
[pid 3474] 0.000050 writev(2, [{"/lib64/rsyslog/lmnsd_gtls.so", 28}, {"(", 1}, {"nsdsel_gtlsDestruct", 19}, {"+0x", 3}, {"25", 2}, {")", 1}, {"[0x", 3}, {"2af96a833f85", 12}, {"]\n", 2}], 9) = 71
[pid 3474] 0.000062 writev(2, [{"/lib64/rsyslog/lmnetstrms.so", 28}, {"(", 1}, {"nsselDestruct", 13}, {"+0x", 3}, {"1a", 2}, {")", 1}, {"[0x", 3}, {"2af96a223d3a", 12}, {"]\n", 2}], 9) = 65
[pid 3474] 0.000150 writev(2, [{"/lib64/rsyslog/lmtcpsrv.so", 26}, {"[0x", 3}, {"2af96a42a326", 12}, {"]\n", 2}], 4) = 43
[pid 3474] 0.000040 writev(2, [{"/sbin/rsyslogd", 14}, {"[0x", 3}, {"2af965a44a7d", 12}, {"]\n", 2}], 4) = 31
[pid 3474] 0.000032 writev(2, [{"/lib64/libpthread.so.0", 22}, {"[0x", 3}, {"2af9660b577d", 12}, {"]\n", 2}], 4) = 39
[pid 3474] 0.000062 writev(2, [{"/lib64/libc.so.6", 16}, {"(", 1}, {"clone", 5}, {"+0x", 3}, {"6d", 2}, {")", 1}, {"[0x", 3}, {"2af966fc625d", 12}, {"]\n", 2}], 9) = 45
[pid 3474] 0.000040 write(2, "======= Memory map: ========\n", 29) = 29
[pid 3474] 0.000018 open("/proc/self/maps", O_RDONLY) = 1089
[pid 3474] 0.000036 read(1089, "40166000-40167000 ---p 40166000 00:00 0 \n40167000-40b67000 rw-p 40167000 00:00 0 \n41a76000-41a77000 ---p 41a76000 00:00 0 \n41a77000-42477000 rw-p 41a77000 00:00 0 \n42477000-42478000 ---p 42477000 00:00 0 \n42478000-42e78000 rw-p 42478000 00:00 0 \n42e78000-42e79000 ---p 42e78000 00:00 0 \n42e79000-43279000 rw-p 42e79000 00:00 0 \n43279000-4327a000 ---p 43279000 00:00 0 \n4327a000-4367a000 rw-p 4327a000 00:00 0 \n4367a000-4367b000 ---p 4367a000 00:00 0 \n4367b000-43a7b000 rw-p 4367b000 00:00 0 \n43a7b000-43a7c000 ---p 43a7b000 00:00 0 \n43a7c000-43e7c000 rw-p 43a7c000 00:00 0 \n43e7c000-43e7d000 ---p 43e7c000 00:00 0 \n43e7d000-4487d000 rw-p 43e7d000 00:00 0 \n2aaaaaaca000-2aaaaaace000 r-xp 00000000 00:93 9608800 /lib64/libnss_dns-2.5.so\n2aaaaaace000-2aaaaaccd000 ---p 00004000 00:93 9608800 /lib64/libnss_dns-2.5.so\n2aaaaaccd000-2aaaaacce000 r--p 00003000 00:93 9608800 /lib64/libnss_dns-2.5.so\n2aaaaacce000-2aaaaaccf000 rw-p 00004000 00:93 9608800 /", 1024) = 1024
[pid 3474] 0.000113 write(2, "40166000-40167000 ---p 40166000 00:00 0 \n40167000-40b67000 rw-p 40167000 00:00 0 \n41a76000-41a77000 ---p 41a76000 00:00 0 \n41a77000-42477000 rw-p 41a77000 00:00 0 \n42477000-42478000 ---p 42477000 00:00 0 \n42478000-42e78000 rw-p 42478000 00:00 0 \n42e78000-42e79000 ---p 42e78000 00:00 0 \n42e79000-43279000 rw-p 42e79000 00:00 0 \n43279000-4327a000 ---p 43279000 00:00 0 \n4327a000-4367a000 rw-p 4327a000 00:00 0 \n4367a000-4367b000 ---p 4367a000 00:00 0 \n4367b000-43a7b000 rw-p 4367b000 00:00 0 \n43a7b000-43a7c000 ---p 43a7b000 00:00 0 \n43a7c000-43e7c000 rw-p 43a7c000 00:00 0 \n43e7c000-43e7d000 ---p 43e7c000 00:00 0 \n43e7d000-4487d000 rw-p 43e7d000 00:00 0 \n2aaaaaaca000-2aaaaaace000 r-xp 00000000 00:93 9608800 /lib64/libnss_dns-2.5.so\n2aaaaaace000-2aaaaaccd000 ---p 00004000 00:93 9608800 /lib64/libnss_dns-2.5.so\n2aaaaaccd000-2aaaaacce000 r--p 00003000 00:93 9608800 /lib64/libnss_dns-2.5.so\n2aaaaacce000-2aaaaaccf000 rw-p 00004000 00:93 9608800 /", 1024) = 1024
[pid 3474] 0.000097 read(1089, "lib64/libnss_dns-2.5.so\n2aaaac000000-2aaaac29a000 rw-p 2aaaac000000 00:00 0 \n2aaaac29a000-2aaab0000000 ---p 2aaaac29a000 00:00 0 \n2aaab0000000-2aaab0381000 rw-p 2aaab0000000 00:00 0 \n2aaab0381000-2aaab4000000 ---p 2aaab0381000 00:00 0 \n2aaab4000000-2aaab43c3000 rw-p 2aaab4000000 00:00 0 \n2aaab43c3000-2aaab8000000 ---p 2aaab43c3000 00:00 0 \n2af9659f4000-2af965a6d000 r-xp 00000000 00:93 1792319 /sbin/rsyslogd\n2af965c6c000-2af965c6e000 r--p 00078000 00:93 1792319 /sbin/rsyslogd\n2af965c6e000-2af965c75000 rw-p 0007a000 00:93 1792319 /sbin/rsyslogd\n2af965c75000-2af965c76000 rw-p 2af965c75000 00:00 0 \n2af965c76000-2af965c92000 r-xp 00000000 00:93 9269104 /lib64/ld-2.5.so\n2af965c92000-2af965c94000 rw-p 2af965c92000 00:00 0 \n2af965e92000-2af965e93000 r--p 0001c000 00:93 9269104 /lib64/ld-2.5.so\n2af965e93000-2af965e94000 rw-p 0001d000 00:93 9269104 /lib64/ld-2.5.so\n2af965e94000-2af965ea8000 r-xp 00000000 00", 1024) = 1024
[pid 3474] 0.000253 write(2, "lib64/libnss_dns-2.5.so\n2aaaac000000-2aaaac29a000 rw-p 2aaaac000000 00:00 0 \n2aaaac29a000-2aaab0000000 ---p 2aaaac29a000 00:00 0 \n2aaab0000000-2aaab0381000 rw-p 2aaab0000000 00:00 0 \n2aaab0381000-2aaab4000000 ---p 2aaab0381000 00:00 0 \n2aaab4000000-2aaab43c3000 rw-p 2aaab4000000 00:00 0 \n2aaab43c3000-2aaab8000000 ---p 2aaab43c3000 00:00 0 \n2af9659f4000-2af965a6d000 r-xp 00000000 00:93 1792319 /sbin/rsyslogd\n2af965c6c000-2af965c6e000 r--p 00078000 00:93 1792319 /sbin/rsyslogd\n2af965c6e000-2af965c75000 rw-p 0007a000 00:93 1792319 /sbin/rsyslogd\n2af965c75000-2af965c76000 rw-p 2af965c75000 00:00 0 \n2af965c76000-2af965c92000 r-xp 00000000 00:93 9269104 /lib64/ld-2.5.so\n2af965c92000-2af965c94000 rw-p 2af965c92000 00:00 0 \n2af965e92000-2af965e93000 r--p 0001c000 00:93 9269104 /lib64/ld-2.5.so\n2af965e93000-2af965e94000 rw-p 0001d000 00:93 9269104 /lib64/ld-2.5.so\n2af965e94000-2af965ea8000 r-xp 00000000 00", 1024) = 1024
[pid 3474] 0.000115 read(1089, ":93 25557756 /usr/lib64/libz.so.1.2.3\n2af965ea8000-2af9660a7000 ---p 00014000 00:93 25557756 /usr/lib64/libz.so.1.2.3\n2af9660a7000-2af9660a8000 rw-p 00013000 00:93 25557756 /usr/lib64/libz.so.1.2.3\n2af9660af000-2af9660c5000 r-xp 00000000 00:93 8769674 /lib64/libpthread-2.5.so\n2af9660c5000-2af9662c4000 ---p 00016000 00:93 8769674 /lib64/libpthread-2.5.so\n2af9662c4000-2af9662c5000 r--p 00015000 00:93 8769674 /lib64/libpthread-2.5.so\n2af9662c5000-2af9662c6000 rw-p 00016000 00:93 8769674 /lib64/libpthread-2.5.so\n2af9662c6000-2af9662ca000 rw-p 2af9662c6000 00:00 0 \n2af9662ca000-2af9662cc000 r-xp 00000000 00:93 9608792 /lib64/libdl-2.5.so\n2af9662cc000-2af9664cc000 ---p 00002000 00:93 9608792 /lib64/libdl-2.5.so\n2af9664cc000-2af9664cd000 r--p 00002000 00:93 9608792 /lib64/libdl-2.5.so\n2af9664cd000-2af9664ce000 rw-p 00003000 00:93 96", 1024) = 1024
[pid 3474] 0.000107 write(2, ":93 25557756 /usr/lib64/libz.so.1.2.3\n2af965ea8000-2af9660a7000 ---p 00014000 00:93 25557756 /usr/lib64/libz.so.1.2.3\n2af9660a7000-2af9660a8000 rw-p 00013000 00:93 25557756 /usr/lib64/libz.so.1.2.3\n2af9660af000-2af9660c5000 r-xp 00000000 00:93 8769674 /lib64/libpthread-2.5.so\n2af9660c5000-2af9662c4000 ---p 00016000 00:93 8769674 /lib64/libpthread-2.5.so\n2af9662c4000-2af9662c5000 r--p 00015000 00:93 8769674 /lib64/libpthread-2.5.so\n2af9662c5000-2af9662c6000 rw-p 00016000 00:93 8769674 /lib64/libpthread-2.5.so\n2af9662c6000-2af9662ca000 rw-p 2af9662c6000 00:00 0 \n2af9662ca000-2af9662cc000 r-xp 00000000 00:93 9608792 /lib64/libdl-2.5.so\n2af9662cc000-2af9664cc000 ---p 00002000 00:93 9608792 /lib64/libdl-2.5.so\n2af9664cc000-2af9664cd000 r--p 00002000 00:93 9608792 /lib64/libdl-2.5.so\n2af9664cd000-2af9664ce000 rw-p 00003000 00:93 96", 1024) = 1024
[pid 3474] 0.000104 read(1089, "08792 /lib64/libdl-2.5.so\n2af9664ce000-2af9664cf000 rw-p 2af9664ce000 00:00 0 \n2af9664cf000-2af9664d6000 r-xp 00000000 00:93 8769678 /lib64/librt-2.5.so\n2af9664d6000-2af9666d6000 ---p 00007000 00:93 8769678 /lib64/librt-2.5.so\n2af9666d6000-2af9666d7000 r--p 00007000 00:93 8769678 /lib64/librt-2.5.so\n2af9666d7000-2af9666d8000 rw-p 00008000 00:93 8769678 /lib64/librt-2.5.so\n2af9666d8000-2af9666da000 r-xp 00000000 00:93 10430510 /usr/lib64/libestr.so.0.0.0\n2af9666da000-2af9668d9000 ---p 00002000 00:93 10430510 /usr/lib64/libestr.so.0.0.0\n2af9668d9000-2af9668da000 rw-p 00001000 00:93 10430510 /usr/lib64/libestr.so.0.0.0\n2af9668da000-2af9668e2000 r-xp 00000000 00:93 26007271 /usr/lib64/libjson.so.0.1.0\n2af9668e2000-2af966ae2000 ---p 00008000 00:93 26007271 /usr/lib64/libjson.so.0.1.0\n2af966ae2000-2af966ae3000 rw-p 00008000 00:93 260", 1024) = 1024
[pid 3474] 0.000246 write(2, "08792 /lib64/libdl-2.5.so\n2af9664ce000-2af9664cf000 rw-p 2af9664ce000 00:00 0 \n2af9664cf000-2af9664d6000 r-xp 00000000 00:93 8769678 /lib64/librt-2.5.so\n2af9664d6000-2af9666d6000 ---p 00007000 00:93 8769678 /lib64/librt-2.5.so\n2af9666d6000-2af9666d7000 r--p 00007000 00:93 8769678 /lib64/librt-2.5.so\n2af9666d7000-2af9666d8000 rw-p 00008000 00:93 8769678 /lib64/librt-2.5.so\n2af9666d8000-2af9666da000 r-xp 00000000 00:93 10430510 /usr/lib64/libestr.so.0.0.0\n2af9666da000-2af9668d9000 ---p 00002000 00:93 10430510 /usr/lib64/libestr.so.0.0.0\n2af9668d9000-2af9668da000 rw-p 00001000 00:93 10430510 /usr/lib64/libestr.so.0.0.0\n2af9668da000-2af9668e2000 r-xp 00000000 00:93 26007271 /usr/lib64/libjson.so.0.1.0\n2af9668e2000-2af966ae2000 ---p 00008000 00:93 26007271 /usr/lib64/libjson.so.0.1.0\n2af966ae2000-2af966ae3000 rw-p 00008000 00:93 260", 1024) = 1024
[pid 3474] 0.000086 read(1089, "07271 /usr/lib64/libjson.so.0.1.0\n2af966ae3000-2af966ae4000 rw-p 2af966ae3000 00:00 0 \n2af966ae4000-2af966ae5000 r-xp 00000000 00:93 26007273 /usr/lib64/libstdlog.so.0.0.0\n2af966ae5000-2af966ce4000 ---p 00001000 00:93 26007273 /usr/lib64/libstdlog.so.0.0.0\n2af966ce4000-2af966ce5000 rw-p 00000000 00:93 26007273 /usr/lib64/libstdlog.so.0.0.0\n2af966ce5000-2af966cf2000 r-xp 00000000 00:93 9269102 /lib64/libgcc_s-4.1.2-20080825.so.1\n2af966cf2000-2af966ef2000 ---p 0000d000 00:93 9269102 /lib64/libgcc_s-4.1.2-20080825.so.1\n2af966ef2000-2af966ef3000 rw-p 0000d000 00:93 9269102 /lib64/libgcc_s-4.1.2-20080825.so.1\n2af966ef3000-2af967040000 r-xp 00000000 00:93 9608786 /lib64/libc-2.5.so\n2af967040000-2af967240000 ---p 0014d000 00:93 9608786 /lib64/libc-2.5.so\n2af967240000-2af967244000 r--p 0014d000 00:93 9608786 /lib64/libc-2.5.so\n2af9672", 1024) = 1024
[pid 3474] 0.000101 write(2, "07271 /usr/lib64/libjson.so.0.1.0\n2af966ae3000-2af966ae4000 rw-p 2af966ae3000 00:00 0 \n2af966ae4000-2af966ae5000 r-xp 00000000 00:93 26007273 /usr/lib64/libstdlog.so.0.0.0\n2af966ae5000-2af966ce4000 ---p 00001000 00:93 26007273 /usr/lib64/libstdlog.so.0.0.0\n2af966ce4000-2af966ce5000 rw-p 00000000 00:93 26007273 /usr/lib64/libstdlog.so.0.0.0\n2af966ce5000-2af966cf2000 r-xp 00000000 00:93 9269102 /lib64/libgcc_s-4.1.2-20080825.so.1\n2af966cf2000-2af966ef2000 ---p 0000d000 00:93 9269102 /lib64/libgcc_s-4.1.2-20080825.so.1\n2af966ef2000-2af966ef3000 rw-p 0000d000 00:93 9269102 /lib64/libgcc_s-4.1.2-20080825.so.1\n2af966ef3000-2af967040000 r-xp 00000000 00:93 9608786 /lib64/libc-2.5.so\n2af967040000-2af967240000 ---p 0014d000 00:93 9608786 /lib64/libc-2.5.so\n2af967240000-2af967244000 r--p 0014d000 00:93 9608786 /lib64/libc-2.5.so\n2af9672", 1024) = 1024
[pid 3474] 0.000082 read(1089, "44000-2af967245000 rw-p 00151000 00:93 9608786 /lib64/libc-2.5.so\n2af967245000-2af96724c000 rw-p 2af967245000 00:00 0 \n2af96724c000-2af967251000 r-xp 00000000 00:93 23673690 /lib64/rsyslog/lmnet.so\n2af967251000-2af967450000 ---p 00005000 00:93 23673690 /lib64/rsyslog/lmnet.so\n2af967450000-2af967451000 r--p 00004000 00:93 23673690 /lib64/rsyslog/lmnet.so\n2af967451000-2af967452000 rw-p 00005000 00:93 23673690 /lib64/rsyslog/lmnet.so\n2af967452000-2af9674aa000 r-xp 00000000 00:93 23673688 /lib64/rsyslog/imuxsock.so\n2af9674aa000-2af9676aa000 ---p 00058000 00:93 23673688 /lib64/rsyslog/imuxsock.so\n2af9676aa000-2af9676ac000 r--p 00058000 00:93 23673688 /lib64/rsyslog/imuxsock.so\n2af9676ac000-2af9676b2000 rw-p 0005a000 00:93 23673688 /lib64/rsyslog/imuxsock.so\n2af9676b2000-2af9676b4000 rw-p 2af9676b2000 00:00 0 \n2af9676b4000-2af9676b8000 r-xp 00000000 00:93", 1024) = 1024
[pid 3474] 0.000249 write(2, "44000-2af967245000 rw-p 00151000 00:93 9608786 /lib64/libc-2.5.so\n2af967245000-2af96724c000 rw-p 2af967245000 00:00 0 \n2af96724c000-2af967251000 r-xp 00000000 00:93 23673690 /lib64/rsyslog/lmnet.so\n2af967251000-2af967450000 ---p 00005000 00:93 23673690 /lib64/rsyslog/lmnet.so\n2af967450000-2af967451000 r--p 00004000 00:93 23673690 /lib64/rsyslog/lmnet.so\n2af967451000-2af967452000 rw-p 00005000 00:93 23673690 /lib64/rsyslog/lmnet.so\n2af967452000-2af9674aa000 r-xp 00000000 00:93 23673688 /lib64/rsyslog/imuxsock.so\n2af9674aa000-2af9676aa000 ---p 00058000 00:93 23673688 /lib64/rsyslog/imuxsock.so\n2af9676aa000-2af9676ac000 r--p 00058000 00:93 23673688 /lib64/rsyslog/imuxsock.so\n2af9676ac000-2af9676b2000 rw-p 0005a000 00:93 23673688 /lib64/rsyslog/imuxsock.so\n2af9676b2000-2af9676b4000 rw-p 2af9676b2000 00:00 0 \n2af9676b4000-2af9676b8000 r-xp 00000000 00:93", 1024) = 1024
[pid 3474] 0.000104 read(1089, " 23673682 /lib64/rsyslog/imklog.so\n2af9676b8000-2af9678b7000 ---p 00004000 00:93 23673682 /lib64/rsyslog/imklog.so\n2af9678b7000-2af9678b8000 r--p 00003000 00:93 23673682 /lib64/rsyslog/imklog.so\n2af9678b8000-2af9678b9000 rw-p 00004000 00:93 23673682 /lib64/rsyslog/imklog.so\n2af9678b9000-2af9678bc000 r-xp 00000000 00:93 6547674 /lib64/rsyslog/ommysql.so\n2af9678bc000-2af967abb000 ---p 00003000 00:93 6547674 /lib64/rsyslog/ommysql.so\n2af967abb000-2af967abc000 r--p 00002000 00:93 6547674 /lib64/rsyslog/ommysql.so\n2af967abc000-2af967abd000 rw-p 00003000 00:93 6547674 /lib64/rsyslog/ommysql.so\n2af967ac4000-2af967bee000 r-xp 00000000 00:93 10193973 /usr/lib64/mysql/libmysqlclient.so.15.0.0\n2af967bee000-2af967ded000 ---p 0012a000 00:93 10193973 /usr/lib64/mysql/libmysqlclient.so.15.0.0\n2af967ded000-2af967e34000 rw-p 00129000 00:93 10193", 1024) = 1024
[pid 3474] 0.000102 write(2, " 23673682 /lib64/rsyslog/imklog.so\n2af9676b8000-2af9678b7000 ---p 00004000 00:93 23673682 /lib64/rsyslog/imklog.so\n2af9678b7000-2af9678b8000 r--p 00003000 00:93 23673682 /lib64/rsyslog/imklog.so\n2af9678b8000-2af9678b9000 rw-p 00004000 00:93 23673682 /lib64/rsyslog/imklog.so\n2af9678b9000-2af9678bc000 r-xp 00000000 00:93 6547674 /lib64/rsyslog/ommysql.so\n2af9678bc000-2af967abb000 ---p 00003000 00:93 6547674 /lib64/rsyslog/ommysql.so\n2af967abb000-2af967abc000 r--p 00002000 00:93 6547674 /lib64/rsyslog/ommysql.so\n2af967abc000-2af967abd000 rw-p 00003000 00:93 6547674 /lib64/rsyslog/ommysql.so\n2af967ac4000-2af967bee000 r-xp 00000000 00:93 10193973 /usr/lib64/mysql/libmysqlclient.so.15.0.0\n2af967bee000-2af967ded000 ---p 0012a000 00:93 10193973 /usr/lib64/mysql/libmysqlclient.so.15.0.0\n2af967ded000-2af967e34000 rw-p 00129000 00:93 10193", 1024) = 1024
[pid 3474] 0.000097 read(1089, "973 /usr/lib64/mysql/libmysqlclient.so.15.0.0\n2af967e34000-2af967e35000 rw-p 2af967e34000 00:00 0 \n2af967e35000-2af967e3e000 r-xp 00000000 00:93 9608790 /lib64/libcrypt-2.5.so\n2af967e3e000-2af96803d000 ---p 00009000 00:93 9608790 /lib64/libcrypt-2.5.so\n2af96803d000-2af96803e000 r--p 00008000 00:93 9608790 /lib64/libcrypt-2.5.so\n2af96803e000-2af96803f000 rw-p 00009000 00:93 9608790 /lib64/libcrypt-2.5.so\n2af96803f000-2af96806d000 rw-p 2af96803f000 00:00 0 \n2af96806d000-2af968082000 r-xp 00000000 00:93 9608796 /lib64/libnsl-2.5.so\n2af968082000-2af968281000 ---p 00015000 00:93 9608796 /lib64/libnsl-2.5.so\n2af968281000-2af968282000 r--p 00014000 00:93 9608796 /lib64/libnsl-2.5.so\n2af968282000-2af968283000 rw-p 00015000 00:93 9608796 /lib64/libnsl-2.5.so\n2af968283000-2af968285000 rw-p 2af968283000 00:00 0 \n2af968285000-2af968307000 r-xp 00000000 0", 1024) = 1024
[pid 3474] 0.000249 write(2, "973 /usr/lib64/mysql/libmysqlclient.so.15.0.0\n2af967e34000-2af967e35000 rw-p 2af967e34000 00:00 0 \n2af967e35000-2af967e3e000 r-xp 00000000 00:93 9608790 /lib64/libcrypt-2.5.so\n2af967e3e000-2af96803d000 ---p 00009000 00:93 9608790 /lib64/libcrypt-2.5.so\n2af96803d000-2af96803e000 r--p 00008000 00:93 9608790 /lib64/libcrypt-2.5.so\n2af96803e000-2af96803f000 rw-p 00009000 00:93 9608790 /lib64/libcrypt-2.5.so\n2af96803f000-2af96806d000 rw-p 2af96803f000 00:00 0 \n2af96806d000-2af968082000 r-xp 00000000 00:93 9608796 /lib64/libnsl-2.5.so\n2af968082000-2af968281000 ---p 00015000 00:93 9608796 /lib64/libnsl-2.5.so\n2af968281000-2af968282000 r--p 00014000 00:93 9608796 /lib64/libnsl-2.5.so\n2af968282000-2af968283000 rw-p 00015000 00:93 9608796 /lib64/libnsl-2.5.so\n2af968283000-2af968285000 rw-p 2af968283000 00:00 0 \n2af968285000-2af968307000 r-xp 00000000 0", 1024) = 1024
[pid 3474] 0.000096 read(1089, "0:93 9608794 /lib64/libm-2.5.so\n2af968307000-2af968506000 ---p 00082000 00:93 9608794 /lib64/libm-2.5.so\n2af968506000-2af968507000 r--p 00081000 00:93 9608794 /lib64/libm-2.5.so\n2af968507000-2af968508000 rw-p 00082000 00:93 9608794 /lib64/libm-2.5.so\n2af968508000-2af96854e000 r-xp 00000000 00:93 9269099 /lib64/libssl.so.0.9.8e\n2af96854e000-2af96874e000 ---p 00046000 00:93 9269099 /lib64/libssl.so.0.9.8e\n2af96874e000-2af968754000 rw-p 00046000 00:93 9269099 /lib64/libssl.so.0.9.8e\n2af968754000-2af968881000 r-xp 00000000 00:93 9269097 /lib64/libcrypto.so.0.9.8e\n2af968881000-2af968a80000 ---p 0012d000 00:93 9269097 /lib64/libcrypto.so.0.9.8e\n2af968a80000-2af968aa1000 rw-p 0012c000 00:93 9269097 /lib64/libcrypto.so.0.9.8e\n2af968aa1000-2af968aa5000 rw-p 2af968aa1000 00:00 0 \n2af968aa5000-2af968ad1000 r-xp 00000000 00:93 1248283", 1024) = 1024
[pid 3474] 0.000101 write(2, "0:93 9608794 /lib64/libm-2.5.so\n2af968307000-2af968506000 ---p 00082000 00:93 9608794 /lib64/libm-2.5.so\n2af968506000-2af968507000 r--p 00081000 00:93 9608794 /lib64/libm-2.5.so\n2af968507000-2af968508000 rw-p 00082000 00:93 9608794 /lib64/libm-2.5.so\n2af968508000-2af96854e000 r-xp 00000000 00:93 9269099 /lib64/libssl.so.0.9.8e\n2af96854e000-2af96874e000 ---p 00046000 00:93 9269099 /lib64/libssl.so.0.9.8e\n2af96874e000-2af968754000 rw-p 00046000 00:93 9269099 /lib64/libssl.so.0.9.8e\n2af968754000-2af968881000 r-xp 00000000 00:93 9269097 /lib64/libcrypto.so.0.9.8e\n2af968881000-2af968a80000 ---p 0012d000 00:93 9269097 /lib64/libcrypto.so.0.9.8e\n2af968a80000-2af968aa1000 rw-p 0012c000 00:93 9269097 /lib64/libcrypto.so.0.9.8e\n2af968aa1000-2af968aa5000 rw-p 2af968aa1000 00:00 0 \n2af968aa5000-2af968ad1000 r-xp 00000000 00:93 1248283", 1024) = 1024
[pid 3474] 0.000229 read(1089, "4 /usr/lib64/libgssapi_krb5.so.2.2\n2af968ad1000-2af968cd1000 ---p 0002c000 00:93 12482834 /usr/lib64/libgssapi_krb5.so.2.2\n2af968cd1000-2af968cd3000 rw-p 0002c000 00:93 12482834 /usr/lib64/libgssapi_krb5.so.2.2\n2af968cd3000-2af968d64000 r-xp 00000000 00:93 4164079 /usr/lib64/libkrb5.so.3.3\n2af968d64000-2af968f64000 ---p 00091000 00:93 4164079 /usr/lib64/libkrb5.so.3.3\n2af968f64000-2af968f68000 rw-p 00091000 00:93 4164079 /usr/lib64/libkrb5.so.3.3\n2af968f68000-2af968f6a000 r-xp 00000000 00:93 1785818 /lib64/libcom_err.so.2.1\n2af968f6a000-2af969169000 ---p 00002000 00:93 1785818 /lib64/libcom_err.so.2.1\n2af969169000-2af96916a000 rw-p 00001000 00:93 1785818 /lib64/libcom_err.so.2.1\n2af96916a000-2af96918e000 r-xp 00000000 00:93 12482838 /usr/lib64/libk5crypto.so.3.1\n2af96918e000-2af96938d000 ---p 00024000 00:93 12482838 ", 1024) = 1024
[pid 3474] 0.000111 write(2, "4 /usr/lib64/libgssapi_krb5.so.2.2\n2af968ad1000-2af968cd1000 ---p 0002c000 00:93 12482834 /usr/lib64/libgssapi_krb5.so.2.2\n2af968cd1000-2af968cd3000 rw-p 0002c000 00:93 12482834 /usr/lib64/libgssapi_krb5.so.2.2\n2af968cd3000-2af968d64000 r-xp 00000000 00:93 4164079 /usr/lib64/libkrb5.so.3.3\n2af968d64000-2af968f64000 ---p 00091000 00:93 4164079 /usr/lib64/libkrb5.so.3.3\n2af968f64000-2af968f68000 rw-p 00091000 00:93 4164079 /usr/lib64/libkrb5.so.3.3\n2af968f68000-2af968f6a000 r-xp 00000000 00:93 1785818 /lib64/libcom_err.so.2.1\n2af968f6a000-2af969169000 ---p 00002000 00:93 1785818 /lib64/libcom_err.so.2.1\n2af969169000-2af96916a000 rw-p 00001000 00:93 1785818 /lib64/libcom_err.so.2.1\n2af96916a000-2af96918e000 r-xp 00000000 00:93 12482838 /usr/lib64/libk5crypto.so.3.1\n2af96918e000-2af96938d000 ---p 00024000 00:93 12482838 ", 1024) = 1024
[pid 3474] 0.000093 read(1089, " /usr/lib64/libk5crypto.so.3.1\n2af96938d000-2af96938f000 rw-p 00023000 00:93 12482838 /usr/lib64/libk5crypto.so.3.1\n2af96938f000-2af969397000 r-xp 00000000 00:93 4164081 /usr/lib64/libkrb5support.so.0.1\n2af969397000-2af969596000 ---p 00008000 00:93 4164081 /usr/lib64/libkrb5support.so.0.1\n2af969596000-2af969597000 rw-p 00007000 00:93 4164081 /usr/lib64/libkrb5support.so.0.1\n2af969597000-2af969599000 r-xp 00000000 00:93 1785810 /lib64/libkeyutils-1.2.so\n2af969599000-2af969798000 ---p 00002000 00:93 1785810 /lib64/libkeyutils-1.2.so\n2af969798000-2af969799000 rw-p 00001000 00:93 1785810 /lib64/libkeyutils-1.2.so\n2af969799000-2af9697aa000 r-xp 00000000 00:93 8769676 /lib64/libresolv-2.5.so\n2af9697aa000-2af9699aa000 ---p 00011000 00:93 8769676 /lib64/libresolv-2.5.so\n2af9699aa000-2af9699ab000 r--p 00011000 00:93 8769676 /", 1024) = 1024
[pid 3474] 0.000099 write(2, " /usr/lib64/libk5crypto.so.3.1\n2af96938d000-2af96938f000 rw-p 00023000 00:93 12482838 /usr/lib64/libk5crypto.so.3.1\n2af96938f000-2af969397000 r-xp 00000000 00:93 4164081 /usr/lib64/libkrb5support.so.0.1\n2af969397000-2af969596000 ---p 00008000 00:93 4164081 /usr/lib64/libkrb5support.so.0.1\n2af969596000-2af969597000 rw-p 00007000 00:93 4164081 /usr/lib64/libkrb5support.so.0.1\n2af969597000-2af969599000 r-xp 00000000 00:93 1785810 /lib64/libkeyutils-1.2.so\n2af969599000-2af969798000 ---p 00002000 00:93 1785810 /lib64/libkeyutils-1.2.so\n2af969798000-2af969799000 rw-p 00001000 00:93 1785810 /lib64/libkeyutils-1.2.so\n2af969799000-2af9697aa000 r-xp 00000000 00:93 8769676 /lib64/libresolv-2.5.so\n2af9697aa000-2af9699aa000 ---p 00011000 00:93 8769676 /lib64/libresolv-2.5.so\n2af9699aa000-2af9699ab000 r--p 00011000 00:93 8769676 /", 1024) = 1024
[pid 3474] 0.000242 read(1089, "lib64/libresolv-2.5.so\n2af9699ab000-2af9699ac000 rw-p 00012000 00:93 8769676 /lib64/libresolv-2.5.so\n2af9699ac000-2af9699ae000 rw-p 2af9699ac000 00:00 0 \n2af9699ae000-2af9699c3000 r-xp 00000000 00:93 14655807 /lib64/libselinux.so.1\n2af9699c3000-2af969bc3000 ---p 00015000 00:93 14655807 /lib64/libselinux.so.1\n2af969bc3000-2af969bc5000 rw-p 00015000 00:93 14655807 /lib64/libselinux.so.1\n2af969bc5000-2af969bc6000 rw-p 2af969bc5000 00:00 0 \n2af969bc6000-2af969c01000 r-xp 00000000 00:93 1785803 /lib64/libsepol.so.1\n2af969c01000-2af969e01000 ---p 0003b000 00:93 1785803 /lib64/libsepol.so.1\n2af969e01000-2af969e02000 rw-p 0003b000 00:93 1785803 /lib64/libsepol.so.1\n2af969e02000-2af969e0c000 rw-p 2af969e02000 00:00 0 \n2af969e13000-2af969e1d000 r-xp 00000000 00:93 8769666 /lib64/libnss_files-2.5.so\n2af969e1d000-2af96a01c000 ---p 0000a000 00:93 8769666 /l", 1024) = 1024
[pid 3474] 0.000100 write(2, "lib64/libresolv-2.5.so\n2af9699ab000-2af9699ac000 rw-p 00012000 00:93 8769676 /lib64/libresolv-2.5.so\n2af9699ac000-2af9699ae000 rw-p 2af9699ac000 00:00 0 \n2af9699ae000-2af9699c3000 r-xp 00000000 00:93 14655807 /lib64/libselinux.so.1\n2af9699c3000-2af969bc3000 ---p 00015000 00:93 14655807 /lib64/libselinux.so.1\n2af969bc3000-2af969bc5000 rw-p 00015000 00:93 14655807 /lib64/libselinux.so.1\n2af969bc5000-2af969bc6000 rw-p 2af969bc5000 00:00 0 \n2af969bc6000-2af969c01000 r-xp 00000000 00:93 1785803 /lib64/libsepol.so.1\n2af969c01000-2af969e01000 ---p 0003b000 00:93 1785803 /lib64/libsepol.so.1\n2af969e01000-2af969e02000 rw-p 0003b000 00:93 1785803 /lib64/libsepol.so.1\n2af969e02000-2af969e0c000 rw-p 2af969e02000 00:00 0 \n2af969e13000-2af969e1d000 r-xp 00000000 00:93 8769666 /lib64/libnss_files-2.5.so\n2af969e1d000-2af96a01c000 ---p 0000a000 00:93 8769666 /l", 1024) = 1024
[pid 3474] 0.000080 read(1089, "ib64/libnss_files-2.5.so\n2af96a01c000-2af96a01d000 r--p 00009000 00:93 8769666 /lib64/libnss_files-2.5.so\n2af96a01d000-2af96a01e000 rw-p 0000a000 00:93 8769666 /lib64/libnss_files-2.5.so\n2af96a01e000-2af96a021000 r-xp 00000000 00:93 23673686 /lib64/rsyslog/imtcp.so\n2af96a021000-2af96a220000 ---p 00003000 00:93 23673686 /lib64/rsyslog/imtcp.so\n2af96a220000-2af96a221000 r--p 00002000 00:93 23673686 /lib64/rsyslog/imtcp.so\n2af96a221000-2af96a222000 rw-p 00003000 00:93 23673686 /lib64/rsyslog/imtcp.so\n2af96a222000-2af96a225000 r-xp 00000000 00:93 23673691 /lib64/rsyslog/lmnetstrms.so\n2af96a225000-2af96a424000 ---p 00003000 00:93 23673691 /lib64/rsyslog/lmnetstrms.so\n2af96a424000-2af96a425000 r--p 00002000 00:93 23673691 /lib64/rsyslog/lmnetstrms.so\n2af96a425000-2af96a426000 rw-p 00003000 00:93 23673691 /lib64/rsyslog/lmnetstrms.so\n2af", 1024) = 1024
[pid 3474] 0.000097 write(2, "ib64/libnss_files-2.5.so\n2af96a01c000-2af96a01d000 r--p 00009000 00:93 8769666 /lib64/libnss_files-2.5.so\n2af96a01d000-2af96a01e000 rw-p 0000a000 00:93 8769666 /lib64/libnss_files-2.5.so\n2af96a01e000-2af96a021000 r-xp 00000000 00:93 23673686 /lib64/rsyslog/imtcp.so\n2af96a021000-2af96a220000 ---p 00003000 00:93 23673686 /lib64/rsyslog/imtcp.so\n2af96a220000-2af96a221000 r--p 00002000 00:93 23673686 /lib64/rsyslog/imtcp.so\n2af96a221000-2af96a222000 rw-p 00003000 00:93 23673686 /lib64/rsyslog/imtcp.so\n2af96a222000-2af96a225000 r-xp 00000000 00:93 23673691 /lib64/rsyslog/lmnetstrms.so\n2af96a225000-2af96a424000 ---p 00003000 00:93 23673691 /lib64/rsyslog/lmnetstrms.so\n2af96a424000-2af96a425000 r--p 00002000 00:93 23673691 /lib64/rsyslog/lmnetstrms.so\n2af96a425000-2af96a426000 rw-p 00003000 00:93 23673691 /lib64/rsyslog/lmnetstrms.so\n2af", 1024) = 1024
[pid 3474] 0.000267 read(1089, "96a426000-2af96a42c000 r-xp 00000000 00:93 23673697 /lib64/rsyslog/lmtcpsrv.so\n2af96a42c000-2af96a62b000 ---p 00006000 00:93 23673697 /lib64/rsyslog/lmtcpsrv.so\n2af96a62b000-2af96a62c000 r--p 00005000 00:93 23673697 /lib64/rsyslog/lmtcpsrv.so\n2af96a62c000-2af96a62d000 rw-p 00006000 00:93 23673697 /lib64/rsyslog/lmtcpsrv.so\n2af96a62d000-2af96a62e000 r-xp 00000000 00:93 23673693 /lib64/rsyslog/lmregexp.so\n2af96a62e000-2af96a82d000 ---p 00001000 00:93 23673693 /lib64/rsyslog/lmregexp.so\n2af96a82d000-2af96a82e000 r--p 00000000 00:93 23673693 /lib64/rsyslog/lmregexp.so\n2af96a82e000-2af96a82f000 rw-p 00001000 00:93 23673693 /lib64/rsyslog/lmregexp.so\n2af96a82f000-2af96a836000 r-xp 00000000 00:93 23321781 /lib64/rsyslog/lmnsd_gtls.so\n2af96a836000-2af96aa35000 ---p 00007000 00:93 23321781 /lib64/rsyslog/lmnsd_gtls.so\n2af96aa35000-2af96aa360", 1024) = 1024
[pid 3474] 0.000099 write(2, "96a426000-2af96a42c000 r-xp 00000000 00:93 23673697 /lib64/rsyslog/lmtcpsrv.so\n2af96a42c000-2af96a62b000 ---p 00006000 00:93 23673697 /lib64/rsyslog/lmtcpsrv.so\n2af96a62b000-2af96a62c000 r--p 00005000 00:93 23673697 /lib64/rsyslog/lmtcpsrv.so\n2af96a62c000-2af96a62d000 rw-p 00006000 00:93 23673697 /lib64/rsyslog/lmtcpsrv.so\n2af96a62d000-2af96a62e000 r-xp 00000000 00:93 23673693 /lib64/rsyslog/lmregexp.so\n2af96a62e000-2af96a82d000 ---p 00001000 00:93 23673693 /lib64/rsyslog/lmregexp.so\n2af96a82d000-2af96a82e000 r--p 00000000 00:93 23673693 /lib64/rsyslog/lmregexp.so\n2af96a82e000-2af96a82f000 rw-p 00001000 00:93 23673693 /lib64/rsyslog/lmregexp.so\n2af96a82f000-2af96a836000 r-xp 00000000 00:93 23321781 /lib64/rsyslog/lmnsd_gtls.so\n2af96a836000-2af96aa35000 ---p 00007000 00:93 23321781 /lib64/rsyslog/lmnsd_gtls.so\n2af96aa35000-2af96aa360", 1024) = 1024
[pid 3474] 0.000091 read(1089, "00 r--p 00006000 00:93 23321781 /lib64/rsyslog/lmnsd_gtls.so\n2af96aa36000-2af96aa37000 rw-p 00007000 00:93 23321781 /lib64/rsyslog/lmnsd_gtls.so\n2af96aa37000-2af96aab1000 r-xp 00000000 00:93 13353623 /usr/lib64/libgnutls.so.13.0.6\n2af96aab1000-2af96acb0000 ---p 0007a000 00:93 13353623 /usr/lib64/libgnutls.so.13.0.6\n2af96acb0000-2af96acbb000 rw-p 00079000 00:93 13353623 /usr/lib64/libgnutls.so.13.0.6\n2af96acbb000-2af96ad2a000 r-xp 00000000 00:93 12237215 /usr/lib64/libgcrypt.so.11.5.2\n2af96ad2a000-2af96af29000 ---p 0006f000 00:93 12237215 /usr/lib64/libgcrypt.so.11.5.2\n2af96af29000-2af96af2d000 rw-p 0006e000 00:93 12237215 /usr/lib64/libgcrypt.so.11.5.2\n2af96af2d000-2af96af30000 r-xp 00000000 00:93 8882452 /usr/lib64/libgpg-error.so.0.3.0\n2af96af30000-2af96b12f000 ---p 00003000 00:93 8882452 /usr/lib64/libgpg-error.so.0.3.0\n2af96b1", 1024) = 1024
[pid 3474] 0.000102 write(2, "00 r--p 00006000 00:93 23321781 /lib64/rsyslog/lmnsd_gtls.so\n2af96aa36000-2af96aa37000 rw-p 00007000 00:93 23321781 /lib64/rsyslog/lmnsd_gtls.so\n2af96aa37000-2af96aab1000 r-xp 00000000 00:93 13353623 /usr/lib64/libgnutls.so.13.0.6\n2af96aab1000-2af96acb0000 ---p 0007a000 00:93 13353623 /usr/lib64/libgnutls.so.13.0.6\n2af96acb0000-2af96acbb000 rw-p 00079000 00:93 13353623 /usr/lib64/libgnutls.so.13.0.6\n2af96acbb000-2af96ad2a000 r-xp 00000000 00:93 12237215 /usr/lib64/libgcrypt.so.11.5.2\n2af96ad2a000-2af96af29000 ---p 0006f000 00:93 12237215 /usr/lib64/libgcrypt.so.11.5.2\n2af96af29000-2af96af2d000 rw-p 0006e000 00:93 12237215 /usr/lib64/libgcrypt.so.11.5.2\n2af96af2d000-2af96af30000 r-xp 00000000 00:93 8882452 /usr/lib64/libgpg-error.so.0.3.0\n2af96af30000-2af96b12f000 ---p 00003000 00:93 8882452 /usr/lib64/libgpg-error.so.0.3.0\n2af96b1", 1024) = 1024
[pid 3474] 0.000239 read(1089, "2f000-2af96b130000 rw-p 00002000 00:93 8882452 /usr/lib64/libgpg-error.so.0.3.0\n2af96b130000-2af96b135000 r-xp 00000000 00:93 23673692 /lib64/rsyslog/lmnsd_ptcp.so\n2af96b135000-2af96b334000 ---p 00005000 00:93 23673692 /lib64/rsyslog/lmnsd_ptcp.so\n2af96b334000-2af96b335000 r--p 00004000 00:93 23673692 /lib64/rsyslog/lmnsd_ptcp.so\n2af96b335000-2af96b336000 rw-p 00005000 00:93 23673692 /lib64/rsyslog/lmnsd_ptcp.so\n2af97dc00000-2af97f7fc000 rw-p 2af97dc00000 00:00 0 [heap]\n7fffaaec6000-7fffaaedb000 rw-p 7ffffffe9000 00:00 0 [stack]\n7fffaaf48000-7fffaaf4b000 r-xp 7fffaaf48000 00:00 0 [vdso]\nffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vsyscall]\n", 1024) = 832
[pid 3474] 0.000085 write(2, "2f000-2af96b130000 rw-p 00002000 00:93 8882452 /usr/lib64/libgpg-error.so.0.3.0\n2af96b130000-2af96b135000 r-xp 00000000 00:93 23673692 /lib64/rsyslog/lmnsd_ptcp.so\n2af96b135000-2af96b334000 ---p 00005000 00:93 23673692 /lib64/rsyslog/lmnsd_ptcp.so\n2af96b334000-2af96b335000 r--p 00004000 00:93 23673692 /lib64/rsyslog/lmnsd_ptcp.so\n2af96b335000-2af96b336000 rw-p 00005000 00:93 23673692 /lib64/rsyslog/lmnsd_ptcp.so\n2af97dc00000-2af97f7fc000 rw-p 2af97dc00000 00:00 0 [heap]\n7fffaaec6000-7fffaaedb000 rw-p 7ffffffe9000 00:00 0 [stack]\n7fffaaf48000-7fffaaf4b000 r-xp 7fffaaf48000 00:00 0 [vdso]\nffffffffff600000-ffffffffffe00000 ---p 00000000 00:00 0 [vsyscall]\n", 832) = 832
[pid 3474] 0.000070 read(1089, "", 1024) = 0
[pid 3474] 0.000014 close(1089) = 0
[pid 3474] 0.000018 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
[pid 3474] 0.000020 tgkill(3470, 3474, SIGABRT) = 0
[pid 3474] 0.000015 --- SIGABRT (Aborted) @ 0 (0) ---
[pid 3474] 0.000065 rt_sigaction(SIGABRT, {SIG_DFL, [], SA_RESTORER, 0x2af9660bdbe0}, NULL, 8) = 0
[pid 3474] 0.000024 rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
[pid 3474] 0.000017 tgkill(3470, 3474, SIGABRT) = 0
[pid 3474] 0.000014 --- SIGABRT (Aborted) @ 0 (0) ---
Process 3474 detached
[pid 3479] 0.000343 +++ killed by SIGABRT +++
[pid 3478] 0.000004 +++ killed by SIGABRT +++
[pid 3477] 0.000003 +++ killed by SIGABRT +++
[pid 3476] 0.000001 +++ killed by SIGABRT +++
[pid 3475] 0.000002 +++ killed by SIGABRT +++
[pid 3472] 0.000002 +++ killed by SIGABRT +++
[pid 3473] 0.024729 +++ killed by SIGABRT +++
0.000073 +++ killed by SIGABRT +++
ktreese
New
 
Posts: 8
Joined: Tue Jan 28, 2014 11:35 pm

Re: EMFILE (Too many open files)

Postby ktreese » Tue Mar 04, 2014 8:19 pm

# rsyslogd -v
rsyslogd 7.4.9, compiled with:
FEATURE_REGEXP: Yes
FEATURE_LARGEFILE: No
GSSAPI Kerberos 5 support: Yes
FEATURE_DEBUG (debug build, slow code): No
32bit Atomic operations supported: Yes
64bit Atomic operations supported: Yes
Runtime Instrumentation (slow code): No
uuid support: No

See http://www.rsyslog.com for more information.
ktreese
New
 
Posts: 8
Joined: Tue Jan 28, 2014 11:35 pm

Re: EMFILE (Too many open files)

Postby ktreese » Wed Mar 05, 2014 4:42 pm

I've increased the maximum number of open file descriptors to 2048 but this time strace revealed *** buffer overflow detected ***: strace terminated
ktreese
New
 
Posts: 8
Joined: Tue Jan 28, 2014 11:35 pm

Re: EMFILE (Too many open files)

Postby ktreese » Wed Mar 05, 2014 10:58 pm

Per the suggestion of another user (not named because I did not ask permission), I set $MaxOpenFiles within rsyslog.conf to see if this rids the issue.
ktreese
New
 
Posts: 8
Joined: Tue Jan 28, 2014 11:35 pm

Re: EMFILE (Too many open files)

Postby dlang » Wed Mar 05, 2014 11:57 pm

That sounds like a good thing to try.

This sounds like a bug, but Rainer will need to take a look at it, but he's on vacation for a few days.

If nothing else, a work-around would be to run multiple instances of rsyslog and split the incoming connections between them. iptables has mechanisms that will let you do this on a single machine transparent to the sender, but it's a bit messy to setup

At that sort of scale, I would seriously consider adding a tier of aggregators in the middle. Aggregate machines by environment/network and then forward them on.
dlang
Frequent Poster
 
Posts: 1001
Joined: Mon Sep 15, 2008 7:44 am

Re: EMFILE (Too many open files)

Postby ktreese » Thu Mar 06, 2014 11:20 pm

no crashes have occurred since implementing MaxOpenFiles
ktreese
New
 
Posts: 8
Joined: Tue Jan 28, 2014 11:35 pm

Google Ads



Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 0 guests

cron