Please send followups to the list. ----- Forwarded message from Parkin Frank - fparki <[EMAIL PROTECTED]> -----
From: Parkin Frank - fparki <[EMAIL PROTECTED]> Date: Tue, 27 Aug 2002 12:02:38 +0100 To: "'[EMAIL PROTECTED]'" <[EMAIL PROTECTED]> Subject: RE: Problem with sort ... textutils-2.0.21 on TRU64 v5.1a Thanks for the response Bob. ---------------------------------------------- 1. I have recreated the error with a 800mb file. root@mersey:/sorttest >ls -l SORT_FILE_10m_recs.dat -rw-rw-r-- 1 root system 846534740 Aug 27 11:53 SORT_FILE_10m_recs.dat >cat SORT_FILE_10m_recs.dat | /usr/local/bin/sort -T /sorttest -t "|" +0 -1n > todelete & The process started to create files ... root@mersey:/sorttest >ls -lt total 961256 -rw------- 1 root system 4678491 Aug 27 11:55 sortacvpjC -rw------- 1 root system 4722340 Aug 27 11:55 sortacvpjA -rw------- 1 root system 4681291 Aug 27 11:55 sortacvpjB -rw------- 1 root system 4722980 Aug 27 11:55 sortacvpjx -rw------- 1 root system 4724584 Aug 27 11:55 sortacvpjy -rw------- 1 root system 4696172 Aug 27 11:55 sortacvpjz -rw------- 1 root system 4793950 Aug 27 11:55 sortacvpjs -rw------- 1 root system 4736214 Aug 27 11:55 sortacvpjt -rw------- 1 root system 4753926 Aug 27 11:55 sortacvpju -rw------- 1 root system 4790359 Aug 27 11:55 sortacvpjv -rw------- 1 root system 4748339 Aug 27 11:55 sortacvpjw -rw------- 1 root system 4678491 Aug 27 11:55 sortacvpjn -rw------- 1 root system 4677669 Aug 27 11:55 sortacvpjo -rw------- 1 root system 4802880 Aug 27 11:55 sortacvpjp -rw------- 1 root system 4800430 Aug 27 11:55 sortacvpjq -rw------- 1 root system 4812746 Aug 27 11:55 sortacvpjr -rw------- 1 root system 4739711 Aug 27 11:55 sortacvpjj -rw------- 1 root system 4691903 Aug 27 11:55 sortacvpjk -rw------- 1 root system 4722957 Aug 27 11:55 sortacvpjl -rw------- 1 root system 4682820 Aug 27 11:55 sortacvpjm -rw------- 1 root system 4746839 Aug 27 11:55 sortacvpje -rw------- 1 root system 4751185 Aug 27 11:55 sortacvpjf -rw------- 1 root system 4778778 Aug 27 11:55 sortacvpjg -rw------- 1 root system 4773840 Aug 27 11:55 sortacvpjh -rw------- 1 root system 4707655 Aug 27 11:55 sortacvpji -rw------- 1 root system 4812064 Aug 27 11:55 sortacvpja -rw------- 1 root system 4809098 Aug 27 11:55 sortacvpjb -rw------- 1 root system 4795502 Aug 27 11:55 sortacvpjc -rw------- 1 root system 4804368 Aug 27 11:55 sortacvpjd Then died a few seconds later with ... /usr/local/bin/sort: cannot create temporary file: /sorttest/sortacvpj: File exists. 2. Version of sort ... /usr/local/bin/sort --version sort (textutils) 2.0.21 3. Is GNU sort on Tru64 compiled as a 32-bit program or a 64-bit program? Not sure. Used the default ./configure , make , make install. I have included the configure output below. 4. Amount of RAM ... = 5gb. Thanks Frank checking build system type... alphaev68-dec-osf5.1 checking host system type... alphaev68-dec-osf5.1 checking for a BSD compatible install... config/install-sh -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets ${MAKE}... yes checking for perl5.003 or newer... yes checking for gcc... gcc checking for C compiler default output... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for executable suffix... checking for object suffix... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking how to run the C preprocessor... gcc -E checking whether gcc needs -traditional... no checking for ranlib... ranlib checking for AIX... no checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... no checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking for strerror in -lcposix... no checking for special C compiler options needed for large files... no checking for _FILE_OFFSET_BITS value needed for large files... no checking for _LARGE_FILES value needed for large files... no checking for gcc option to accept ANSI C... none needed checking for function prototypes... yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking whether byte ordering is bigendian... no checking for gcc option to accept ANSI C... none needed checking for an ANSI C-conforming const... yes checking for working volatile... yes checking for inline... inline checking for working long double with more range or precision than double... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking fenv.h usability... no checking fenv.h presence... no checking for fenv.h... no checking float.h usability... yes checking float.h presence... yes checking for float.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking for memory.h... (cached) yes checking mntent.h usability... no checking mntent.h presence... no checking for mntent.h... no checking mnttab.h usability... no checking mnttab.h presence... no checking for mnttab.h... no checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking paths.h usability... yes checking paths.h presence... yes checking for paths.h... yes checking for stdlib.h... (cached) yes checking stddef.h usability... yes checking stddef.h presence... yes checking for stddef.h... yes checking for stdint.h... (cached) no checking for string.h... (cached) yes checking sys/acl.h usability... yes checking sys/acl.h presence... yes checking for sys/acl.h... yes checking sys/filsys.h usability... yes checking sys/filsys.h presence... yes checking for sys/filsys.h... yes checking sys/fs/s5param.h usability... no checking sys/fs/s5param.h presence... no checking for sys/fs/s5param.h... no checking sys/fs_types.h usability... yes checking sys/fs_types.h presence... yes checking for sys/fs_types.h... yes checking sys/fstyp.h usability... yes checking sys/fstyp.h presence... yes checking for sys/fstyp.h... yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/mntent.h usability... no checking sys/mntent.h presence... no checking for sys/mntent.h... no checking sys/mount.h usability... yes checking sys/mount.h presence... yes checking for sys/mount.h... yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking sys/statfs.h usability... no checking sys/statfs.h presence... no checking for sys/statfs.h... no checking sys/statvfs.h usability... yes checking sys/statvfs.h presence... yes checking for sys/statvfs.h... yes checking sys/systeminfo.h usability... yes checking sys/systeminfo.h presence... yes checking for sys/systeminfo.h... yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/timeb.h usability... yes checking sys/timeb.h presence... yes checking for sys/timeb.h... yes checking sys/vfs.h usability... no checking sys/vfs.h presence... no checking for sys/vfs.h... no checking sys/wait.h usability... yes checking sys/wait.h presence... yes checking for sys/wait.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking termios.h usability... yes checking termios.h presence... yes checking for termios.h... yes checking for unistd.h... (cached) yes checking utime.h usability... yes checking utime.h presence... yes checking for utime.h... yes checking values.h usability... yes checking values.h presence... yes checking for values.h... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for struct stat.st_blocks... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking whether stat file-mode macros are broken... no checking for nanoseconds member of struct stat.st_mtim... no checking for st_dm_mode in struct stat... no checking whether time.h and sys/time.h may both be included... yes checking for struct timespec... yes checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for mode_t... yes checking for off_t... yes checking for pid_t... yes checking return type of signal handlers... void checking for size_t... yes checking for unsigned long long... yes checking for uintmax_t... no checking whether sys/types.h defines makedev... yes checking host operating system... Tru64 checking whether mkdir fails due to a trailing slash... no checking whether to enable assertions... yes checking for utime.h... (cached) yes checking for struct utimbuf... yes checking for d_type member in directory struct... no checking for d_ino member in directory struct... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking for memory.h... (cached) yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking for string.h... (cached) yes checking for strings.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/time.h... (cached) yes checking utmp.h usability... yes checking utmp.h presence... yes checking for utmp.h... yes checking utmpx.h usability... yes checking utmpx.h presence... yes checking for utmpx.h... yes checking whether free is declared... yes checking whether getenv is declared... yes checking whether geteuid is declared... yes checking whether getgrgid is declared... yes checking whether getlogin is declared... yes checking whether getpwuid is declared... yes checking whether getuid is declared... yes checking whether getutent is declared... yes checking whether lseek is declared... yes checking whether malloc is declared... yes checking whether memchr is declared... yes checking whether memrchr is declared... no checking whether nanosleep is declared... yes checking whether realloc is declared... yes checking whether stpcpy is declared... no checking whether strndup is declared... no checking whether strnlen is declared... no checking whether strstr is declared... yes checking whether strtoul is declared... yes checking whether strtoull is declared... no checking whether ttyname is declared... yes checking for long file names... yes checking for pathconf... yes checking for limits.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for library containing gethostbyname... none required checking for gethostbyname... yes checking for gethostbyaddr... yes checking for inet_ntoa... yes checking for gethostbyname... (cached) yes checking for gethostbyaddr... (cached) yes checking for inet_ntoa... (cached) yes checking for unistd.h... (cached) yes checking for string.h... (cached) yes checking for netdb.h... (cached) yes checking for sys/socket.h... (cached) yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking for strerror... yes checking for vprintf... yes checking for doprnt... no checking whether strerror is declared... yes checking whether strerror_r is declared... no checking for strerror_r... yes checking whether strerror_r returns char *... no checking for ANSI C header files... (cached) yes checking for working GNU-style fnmatch... no checking stdbool.h usability... yes checking stdbool.h presence... yes checking for stdbool.h... yes checking for getpagesize... yes checking OS.h usability... no checking OS.h presence... no checking for OS.h... no checking for unistd.h... (cached) yes checking for stdlib.h... (cached) yes checking for stdbool.h... (cached) yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking whether getenv is declared... (cached) yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking wchar.h usability... yes checking wchar.h presence... yes checking for wchar.h... yes checking wctype.h usability... yes checking wctype.h presence... yes checking for wctype.h... yes checking for isascii... yes checking for iswcntrl... yes checking for iswprint... yes checking for mbsinit... yes checking for wcwidth... yes checking whether mbrtowc and mbstate_t are properly declared... yes checking whether wcwidth is declared... yes checking for stdlib.h... (cached) yes checking for mbstate_t... yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking bp-sym.h usability... no checking bp-sym.h presence... no checking for bp-sym.h... no checking sys/pstat.h usability... no checking sys/pstat.h presence... no checking for sys/pstat.h... no checking for unistd.h... (cached) yes checking for pstat_getstatic... no checking for pstat_getdynamic... no checking for unistd.h... (cached) yes checking whether getenv is declared... (cached) yes checking for isascii... (cached) yes checking for iswprint... (cached) yes checking whether mbrtowc and mbstate_t are properly declared... (cached) yes checking for limits.h... (cached) yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for wchar.h... (cached) yes checking for wctype.h... (cached) yes checking for ANSI C header files... (cached) yes checking whether backslash-a works in strings... yes checking for stdlib.h... (cached) yes checking for mbstate_t... (cached) yes checking for function prototypes... yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking for utmp.h... (cached) yes checking for utmpx.h... (cached) yes checking for sys/param.h... (cached) yes checking for utmpname... yes checking for utmpxname... no checking for function prototypes... yes checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking for struct utmpx.ut_user... yes checking for struct utmp.ut_user... yes checking for struct utmpx.ut_name... yes checking for struct utmp.ut_name... yes checking for struct utmpx.ut_type... yes checking for struct utmp.ut_type... yes checking for bzero... yes checking for bcopy... yes checking for isascii... (cached) yes checking for btowc... yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking libintl.h usability... no checking libintl.h presence... no checking for libintl.h... no checking for wctype.h... (cached) yes checking for wchar.h... (cached) yes checking for ANSI C header files... (cached) yes checking for working alloca.h... yes checking for alloca... yes checking for ANSI C header files... (cached) yes checking whether stat file-mode macros are broken... (cached) no checking for fcntl.h... (cached) yes checking for sys/time.h... (cached) yes checking for stdint.h... (cached) no checking for unistd.h... (cached) yes checking for __secure_getenv... no checking for gettimeofday... yes checking whether getenv is declared... (cached) yes checking for function prototypes... yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for sys/param.h... (cached) yes checking for unistd.h... (cached) yes checking for getcwd... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking whether getcwd (NULL, 0) allocates memory for result... no checking for function prototypes... yes checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for sys/types.h... (cached) yes checking for unistd.h... (cached) yes checking for dirent.h that defines DIR... (cached) yes checking for library containing opendir... (cached) none required checking for dirfd... no checking whether dirfd is declared... no checking for dirfd... (cached) no checking how to get the file descriptor associated with an open DIR*... dd_fd checking for lchown... yes checking for rmdir-not-empty errno value... 17 checking for working chown... yes checking for sys/time.h... (cached) yes checking for unistd.h... (cached) yes checking for alarm... yes checking for working mktime... yes checking for localtime_r... yes checking whether lstat dereferences a symlink specified with a trailing slash... yes checking whether lstat accepts an empty string... no checking whether stat accepts an empty string... no checking for working realloc... no checking for working malloc... no checking for library containing nanosleep... -lrt checking whether nanosleep works... yes checking for string.h... (cached) yes checking for working readdir... yes checking for working memcmp... yes checking whether clearerr_unlocked is declared... no checking whether feof_unlocked is declared... no checking whether ferror_unlocked is declared... no checking whether fflush_unlocked is declared... no checking whether fgets_unlocked is declared... no checking whether fputc_unlocked is declared... no checking whether fputs_unlocked is declared... no checking whether fread_unlocked is declared... no checking whether fwrite_unlocked is declared... no checking whether getc_unlocked is declared... no checking whether getchar_unlocked is declared... no checking whether putc_unlocked is declared... no checking whether putchar_unlocked is declared... no checking for group_member... no checking for SVID conformant putenv... no checking for AFS... no checking for long long... yes checking for intmax_t... no checking whether strtol is declared... yes checking whether strtoul is declared... (cached) yes checking whether strtoull is declared... (cached) no checking whether strtoimax is declared... no checking whether strtoumax is declared... no checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking whether <inttypes.h> defines strtoumax as a macro... no checking for strtoumax... no checking for strtoul... yes checking for strtoull... no checking whether strtol is declared... (cached) yes checking whether strtoul is declared... (cached) yes checking whether strtoll is declared... no checking whether strtoimax is declared... (cached) no checking whether strtoumax is declared... (cached) no checking for limits.h... (cached) yes checking for stdlib.h... (cached) yes checking for inttypes.h... (cached) yes checking whether <inttypes.h> defines strtoimax as a macro... no checking for strtoimax... no checking for strtol... yes checking for strtoll... no checking whether link(2) dereferences a symlink specified with a trailing slash... yes checking for error_at_line... no checking for localtime_r... (cached) yes checking for strftime... yes checking for limits.h... (cached) yes checking for bcopy... (cached) yes checking for tzset... yes checking for mempcpy... no checking for memcpy... yes checking for memset... yes checking for struct tm.tm_zone... (cached) yes checking for mblen... yes checking for mbrlen... yes checking for struct tm.tm_gmtoff... yes checking for sys/time.h... (cached) yes checking stdio_ext.h usability... no checking stdio_ext.h presence... no checking for stdio_ext.h... no checking for __fpending... no checking whether __fpending is declared... no checking how to determine the number of pending output bytes on a stream... fp->_ptr - fp->_base checking for getgroups... yes checking for working getgroups... yes checking for _LARGEFILE_SOURCE value needed for large files... no checking for fseeko... no checking for vprintf... (cached) yes checking for _doprnt... yes checking for /proc/uptime... no checking for ftruncate... yes checking whether rename is broken... no checking for mkstemp... yes checking for mkstemp limitations... no checking whether closedir returns void... no checking whether utime accepts a null argument... yes checking for utime.h... (cached) yes checking for ld used by GCC... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... no checking for shared library run path origin... /bin/ksh: config/config.rpath: not found done checking for iconv... yes checking how to link with libiconv... -liconv checking whether system is Windows or MSDOS... no checking for struct stat.st_blksize... yes checking for ino_t... yes checking for ssize_t... yes checking for major_t... yes checking for minor_t... yes checking for working re_compile_pattern... no checking for getloadavg... no checking for pstat_getdynamic... (cached) no checking for kstat_open in -lkstat... no checking for elf_begin in -lelf... no checking for kvm_open in -lkvm... no checking for getloadavg in -lutil... no checking for getloadavg in -lgetloadavg... no checking for getloadavg... no checking sys/dg_sys_info.h usability... no checking sys/dg_sys_info.h presence... no checking for sys/dg_sys_info.h... no checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for setlocale... yes checking inq_stats/cpustats.h usability... no checking inq_stats/cpustats.h presence... no checking for inq_stats/cpustats.h... no checking sys/cpustats.h usability... no checking sys/cpustats.h presence... no checking for sys/cpustats.h... no checking mach/mach.h usability... no checking mach/mach.h presence... no checking for mach/mach.h... no checking nlist.h usability... yes checking nlist.h presence... yes checking for nlist.h... yes checking for struct nlist.n_un.n_name... no checking whether getloadavg requires setgid... no checking for strcasecmp... yes checking for strncasecmp... yes checking for dup2... yes checking for gethostname... yes checking for getusershell... yes checking for stime... yes checking for strcspn... yes checking for stpcpy... no checking for strstr... yes checking for strtol... (cached) yes checking for strtoul... (cached) yes checking for strpbrk... yes checking for euidaccess... no checking for memcmp... yes checking for rmdir... yes checking for rpmatch... yes checking for strndup... no checking for strverscmp... no checking for atexit... yes checking for strnlen... no checking for getpass... yes checking for strdup... yes checking for memchr... yes checking for memcpy... (cached) yes checking for memmove... yes checking for memrchr... no checking for memset... (cached) yes checking for getpagesize... (cached) yes checking whether setvbuf arguments are reversed... no checking for library containing clock_gettime... -lrt checking for clock_gettime... yes checking for gettimeofday... (cached) yes checking for string.h... (cached) yes checking for stdlib.h... (cached) yes checking whether gettimeofday clobbers localtime buffer... no checking for acl... no checking for bcopy... (cached) yes checking for canonicalize_file_name... no checking for endgrent... yes checking for endpwent... yes checking for fchdir... yes checking for fdatasync... yes checking for ftime... yes checking for ftruncate... (cached) yes checking for getcwd... (cached) yes checking for gethrtime... no checking for getmntinfo... yes checking for hasmntopt... no checking for isascii... (cached) yes checking for iswspace... yes checking for lchown... (cached) yes checking for listmntent... no checking for localeconv... yes checking for memcpy... (cached) yes checking for mempcpy... (cached) no checking for mkfifo... yes checking for realpath... yes checking for resolvepath... no checking for sethostname... yes checking for strchr... yes checking for strerror... (cached) yes checking for strrchr... yes checking for sysinfo... yes checking for wcrtomb... yes checking for tzset... (cached) yes checking for getline... no checking for getdelim... no checking for obstacks... no checking for working strtod... yes checking for working strnlen... no checking for nl_langinfo and CODESET... yes checking whether we are using the GNU C Library 2.1 or newer... no checking for iconv declaration... extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking whether a running program can be unlinked... yes checking for listmntent... (cached) no checking for getmntinfo... (cached) yes checking for mntent.h... (cached) no checking for sys/param.h... (cached) yes checking sys/ucred.h usability... no checking sys/ucred.h presence... yes configure: WARNING: sys/ucred.h: present but cannot be compiled. configure: WARNING: sys/ucred.h: check for missing prerequisite headers? configure: WARNING: sys/ucred.h: proceeding with the preprocessor's result checking for sys/ucred.h... yes checking for sys/mount.h... (cached) yes checking for sys/fs_types.h... (cached) yes checking for struct fsstat.f_fstypename... no checking for getmntent in -lsun... no checking for getmntent in -lseq... no checking for getmntent in -lgen... no checking for getmntent... no checking for listmntent of Cray/Unicos-9... no checking for getfsstat function... yes checking for f_fstypename in struct statfs... no checking how to get filesystem space usage... checking for statvfs function (SVR4)... yes checking for main in -lypsec... no checking for main in -lldgc... no checking for floor... yes checking for modf... yes checking for rint... yes checking for sqrt... no checking for sqrt in -lm... yes checking for fesetround... yes checking for library containing yp_match... none required checking for library containing getspnam... no checking shadow.h usability... no checking shadow.h presence... no checking for shadow.h... no checking for struct spwd.sp_pwdp... no checking for getspnam... no checking for library containing crypt... none required checking for msgfmt... no checking for gmsgfmt... : checking for xgettext... no checking for msgmerge... no checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking argz.h usability... no checking argz.h presence... no checking for argz.h... no checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... yes checking malloc.h presence... yes checking for malloc.h... yes checking for stddef.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for feof_unlocked... no checking for fgets_unlocked... no checking for getc_unlocked... yes checking for getcwd... (cached) yes checking for getegid... yes checking for geteuid... yes checking for getgid... yes checking for getuid... yes checking for mempcpy... (cached) no checking for munmap... yes checking for putenv... no checking for setenv... yes checking for setlocale... (cached) yes checking for stpcpy... (cached) no checking for strcasecmp... (cached) yes checking for strdup... (cached) yes checking for strtoul... (cached) yes checking for tsearch... yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for iconv declaration... (cached) extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft); checking for nl_langinfo and CODESET... (cached) yes checking for LC_MESSAGES... yes checking for bison... no checking whether NLS is requested... yes checking whether included gettext is requested... no checking for GNU gettext in libc... no checking for GNU gettext in libintl... no configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating intl/Makefile config.status: creating lib/Makefile config.status: creating man/Makefile config.status: creating m4/Makefile config.status: creating po/Makefile.in config.status: creating src/Makefile config.status: creating djgpp/Makefile config.status: creating tests/Makefile config.status: creating tests/cut/Makefile config.status: creating tests/fmt/Makefile config.status: creating tests/head/Makefile config.status: creating tests/join/Makefile config.status: creating tests/md5sum/Makefile config.status: creating tests/misc/Makefile config.status: creating tests/od/Makefile config.status: creating tests/pr/Makefile config.status: creating tests/sha1sum/Makefile config.status: creating tests/sort/Makefile config.status: creating tests/sum/Makefile config.status: creating tests/tac/Makefile config.status: creating tests/tail/Makefile config.status: creating tests/tail-2/Makefile config.status: creating tests/tr/Makefile config.status: creating tests/tsort/Makefile config.status: creating tests/unexpand/Makefile config.status: creating tests/uniq/Makefile config.status: creating tests/wc/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: creating po/POTFILES config.status: creating po/Makefile 5. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 25 August 2002 07:37 To: Parkin Frank - fparki Cc: [EMAIL PROTECTED] Subject: Re: Problem with sort ... textutils-2.0.21 on TRU64 v5.1a Parkin Frank - fparki <[EMAIL PROTECTED]> [2002-08-23 16:27:22 +0100]: > When sorting large files I (root) receive the following message ... When you say "large files" do you mean files greater than 2GB? Today's jargon calls files which exceed 2^31 bits large files and they take special handling in 32 bit programs. Of course 64 bit programs should handle those fine up to 2^63 bits. And does that also imply that you don't get that error message when sorting small files? It works up to a larger file size? > /usr/local/bin/sort: cannot create temporary file: /sorttest/sortapuED: File exists Hmm... Normally sort will call mkstemp() with a default temporary directory set it /tmp/sortXXXXXX. I assume you are overriding the temporary directory and placing it in /sorttest/? > I have tried various command combinations with different temporary areas > (all 777 perm). > > Compaq sort and syncsort are working correctly on the same system. > > Can you help? There are several possible problems. We need to determine several things to move forward. 1. The exact version of sort you are using. 'sort --version' 2. Is GNU sort on True64 compiled as a 32-bit program or a 64-bit program? 3. The size of the file you are trying to sort. 'ls -l' 4. The size and number of the temporary files being generated. Can you run 'ls -l' on the temporary directory while this is running and catch the size of the files there in process? Also, are there a lot of them or just one or just none? This is tricky to do since when sort exits it will clean everything up and remove those files. You have to catch it in motion. 5. The amount of physical ram on your system in round numbers. The temporary file size is related to the amount of memory that the sort program thinks is available. On some systems it can't tell and has to guess. If it has to guess then it guesses very conservatively in terms of memory but that means that it uses more disk space and therefore has a longer run time. The guess size IIRC is 8MB and when sorting a big files can create a lot of temporaries. Instead of not being able to create a temporary file you might be actually running out of temporary files. Just a guess and more information will be needed to tell for sure. Bob ********************************************************************* The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message or any copy of it from your computer system. Thank You. ----- End forwarded message ----- _______________________________________________ Bug-textutils mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-textutils