02-25-2004
Max file size can't exceed 2 GB
We have Sun OS 5.9 we are doing a backup process (ProC program) that uses the function...
fprintf(fp,"%s;%s;%s;%s;%s;%ld;%ld;%ld;%ld;%s;%s;%s;%d;%s;%s;%s;%ld;%s;%s;%s;%ld;%ld;%s;%ld;%s;%ld;% s;%s;%c%c",x_contrno, x_subno, x_b_subno,x_transdate,x_last_traffic_date,BillAmt_s, x_billamount_int, x_duration
, x_act_duration,x_third_party_no, x_call_type,x_tariffclass,x_party_flag,x_chargetype,x_vol_group,x_billcode,x_no_packets,v_SUBSCR_TYP E.arr,v_AREA.arr,v_TARIFF_GROUP.arr,file_id0,d_GROSS_AMOUNT,v_UPDATED,d_RATE_POS
,v_DISC_TYPE.arr,d_OTHER_AMOUNT,v_OTHER_GROUP.arr,v_TARIFF_PROFILE.arr,0x0D,0x0A);
and fp is declared such that
FILE *fp (fp is pointer to file)
MY problem is that I can't exceed 2GB as file size ......
What are the options availabe to increase the file size to be unlimited............?
and I need to know if this file size depends on the filesystem itself...
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all!
I have found a new home, this place is great!
I have been searching for days to find a way to set a max size for a log.txt file using a cron job exicuting a shell script. Is it possible for a script to remove older entries in a log file to maintain a limited file size? If so,... (5 Replies)
Discussion started by: v-rod
5 Replies
2. UNIX for Dummies Questions & Answers
My HP-UX 11.0 system is supporting an Oracle database. I have found a number of references on the Net to the "Max I/O size" in relation to setting Oracle parameters.
How can I tell what my max i/o size is? I originally made the assumption that it was referring to my stripe size but now I think... (1 Reply)
Discussion started by: keelba
1 Replies
3. UNIX for Advanced & Expert Users
Does anyone know a way to determine the maximum filesize on a file system on Solaris, HP-UX, AIX, Linux, and OSF1 using the command line?
TIA (2 Replies)
Discussion started by: dknight
2 Replies
4. Solaris
I wants to ask that what is the max size of file that we can create in the unix file system. (2 Replies)
Discussion started by: sameerghogre
2 Replies
5. UNIX for Advanced & Expert Users
i want to know what is the maximum file size supported by linux with ext3 file system. (1 Reply)
Discussion started by: nagalenoj
1 Replies
6. UNIX for Dummies Questions & Answers
Hi All,
We are running HP rp7400 box with hpux 11iv1.
Recently, we changed 3 kernel parameters
a) msgseg from 32560 to 32767
b) msgmnb from 65536 to 65535
c) msgssz from 128 to 256
Then we noticed that all application debug file size increase upto 2GB then it stops. So far we did not... (1 Reply)
Discussion started by: mhbd
1 Replies
7. UNIX for Dummies Questions & Answers
Hello All,
I am working on an issue, where I need to check the max file size of a file. If the file size exceeds 2 GB, then I need to generate an error message. Since the file system does not allow a file to be created larger than 2 GB, I am planning to use named pipes & AWK file to acheive my... (6 Replies)
Discussion started by: puru2121
6 Replies
8. Solaris
Hi All,
I'm new for Solaris and exceed both. I tried searching in forum but couldn't locate any similar issue posted so posting the issue. I'm remotely connecting a solaris machine using Exceed XDMCP Query and while login I select Chinese language / locale for login. After login when I... (0 Replies)
Discussion started by: kshukla08
0 Replies
9. Solaris
Hi,
kstat -p -m zfs -n arcstats -s size returns
zfs:0:arcstats:size 8177310584
this values is approx (7.61 GB)
but my Physical Memory size is only 6144 Megabytes.
Can this happen ?
if yes, then how can I find free memory on the system.
BTW, I ran the kstat commands from a Non... (2 Replies)
Discussion started by: sapre_amit
2 Replies
10. Solaris
Hi,
I've compiled a 64-bit version of ClamAV 0.98.7 on my Solaris 10 SPARC server. I have a selection of files all containing the eicar signature but clamd is only picking up the signature in the files <2GB.
I have the following set in clamd.conf, to remove file size checking:
MaxScanSize 0... (4 Replies)
Discussion started by: Troutfest
4 Replies
LEARN ABOUT PHP
parse_str
PARSE_STR(3) 1 PARSE_STR(3)
parse_str - Parses the string into variables
SYNOPSIS
void parse_str (string $str, [array &$arr])
DESCRIPTION
Parses $str as if it were the query string passed via a URL and sets variables in the current scope.
Note
To get the current QUERY_STRING, you may use the variable $_SERVER['QUERY_STRING']. Also, you may want to read the section on vari-
ables from external sources.
Note
The magic_quotes_gpc setting affects the output of this function, as parse_str(3) uses the same mechanism that PHP uses to populate
the $_GET, $_POST, etc. variables.
PARAMETERS
o $str
- The input string.
o $arr
- If the second parameter $arr is present, variables are stored in this variable as array elements instead.
RETURN VALUES
No value is returned.
EXAMPLES
Example #1
Using parse_str(3)
<?php
$str = "first=value&arr[]=foo+bar&arr[]=baz";
parse_str($str);
echo $first; // value
echo $arr[0]; // foo bar
echo $arr[1]; // baz
parse_str($str, $output);
echo $output['first']; // value
echo $output['arr'][0]; // foo bar
echo $output['arr'][1]; // baz
?>
SEE ALSO
parse_url(3), pathinfo(3), http_build_query(3), get_magic_quotes_gpc(3), urldecode(3).
PHP Documentation Group PARSE_STR(3)