search for: parent's

Displaying 20 results from an estimated 11252 matches for "parent's".

Did you mean: parent
2005 Mar 14
1
Fwd: [Cooker] Re: Configure Xen in Mandrake 10.2 cooker
...r, Mark. I have a 4 IDE channels (2 standard channels, 2 ATA100) asus A7V Motherboard, with ATA133 HD (hde) and 2 CD/DVD reader on ATA66 channels.. My dmesg looks very strange (I''m running a mandrake-test version, so this could be the reason): ULL>28 devfs_mk_dev: could not append to parent for <NULL>29 devfs_mk_dev: could not append to parent for <NULL>30 devfs_mk_dev: could not append to parent for <NULL>31 devfs_mk_dev: could not append to parent for <NULL>32 Stallion Multiport Serial Driver: version 5.6.0 STALLION: failed to register serial board device dev...
2004 Jan 19
3
Shaping inbound ok, outbound wrong
...)I have eth0 facing the backbone and eth1 facing the LAN. Thanks for your help.These are the commands I run:tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1 htb default 10 r2q 5 tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 1 htb default 10 r2q 5 tc class add dev eth0 parent 1: classid 1:2 htb rate 3Mbit tc class add dev eth0 parent 1:2 classid 1:100 htb rate 128Kbit ceil 128Kbit tc qdisc add dev eth0 parent 1:100 handle 100 sfq perturb 10 tc filter add dev eth0 parent 1:0 protocol ip prio 100 u32 match ip dst 200.43.134.15 classid 1:100 tc class add dev eth0 parent...
2006 Mar 24
6
Should counter_cache fields be saved in the database?
As far as I can tell, the counter_cache option on a belongs_to model doesn''t actually save anything in the database. For example, I have the following models: class Parent < ActiveRecord::Base has_many :children, :conditions => "deleted_at IS NULL" end class Child < ActiveRecord::Base belongs_to :parent, :counter_cache => true end With the following schema, dumped from sqlite3: CREATE TABLE children ("id" INTEGER PRIM...
2006 Feb 14
8
Assigning has_many child in parent creation question
If I have... class Parent has_many :children end class Child belongs_to :parent end ...then... * Assigning a _new_ child during parent''s creation saves the child record with the parent''s id. child = Child.new Parent.create(:children => [child]) # Results in child being associated with...
2004 Aug 18
0
HTB prio question
...but putting it into a very small bitrate queue but would rather late the shaper do the work based on priority. What am I missing? My rules are posted below. Thanks, Michael Eck Sorry if these are a bit long ### # Root qdisc ### /sbin/tc qdisc add dev eth0 root handle 1: htb default 5 #### # Parent Classes #### # The Entire Interface /sbin/tc class add dev eth0 parent 1: classid 1:1 htb rate 102401kbit ceil 102401kbit quantum 20000 # Default Class /sbin/tc class add dev eth0 parent 1:1 classid 1:5 htb rate 100864kbit ceil 100864kbit prio 1 quantum 20000 /sbin/tc qdisc add dev eth0 parent 1:5...
2007 May 17
8
Model: self is not child's parent
Assume a model Parent and another model Child. Child belongs_to Parent and Parent has_many Children. The following fails: @ p = Parent.find(:first) assert p.equal?(p.children[0].parent) @ It seems odd to me that I and my child''s parent are not the same object. In fact, this is royally screwing me up. Can a...
2005 Feb 06
2
problems with u32 fiter
hello to all i''m trying to set a filter but doesn''t want to work. i''ve set ut the qdiscs and the classes like this : tc qdisc add dev ppp0 root handle 1: htb default 20 tc class add dev ppp0 parent 1: classid 1:1 htb rate 120kbit tc class add dev ppp0 parent 1:1 classid 1:20 htb rate 30kbit ceil 120kbit tc class add dev ppp0 parent 1:1 classid 1:21 htb rate 30kbit ceil 120kbit tc class add dev ppp0 parent 1:1 classid 1:22 htb rate 30kbit ceil 120kbit tc class add dev ppp0 parent 1:1 classid 1...
2004 Jul 20
3
Fw: HTB - Really Big problem
...f users to $licznik #counting rate rx1=$[$rxmax-10] tx1=$[$txmax-10] # dla klasy domyslnej rxmin=$[$rx1/$licznik] txmin=$[$tx1/$licznik] echo rx $rxmin tx $txmin #echo $rxmin #root classes #rx tc qdisc del root dev eth1 tc qdisc add dev eth1 root handle 1:0 htb r2q 1 default 2 tc class add dev eth1 parent 1:0 classid 1:1 htb rate $rxmax$kbit ceil $rxmax$kbit #tx tc qdisc del root dev eth0 tc qdisc add dev eth0 root handle 2:0 htb r2q 1 default 4 tc class add dev eth0 parent 2:0 classid 2:1 htb rate $txmax$kbit ceil $txmax$kbit #r="$rxmax$kbit" #default classes #rx tc class add dev eth1 par...
2006 Mar 14
2
Two unsaved related objects
Given the two tables Parent, Child where Parent has_many children: If I don''t save parent first then it seems that child.parent will not be assigned automatically if I call parent.children << child . Must the parent record be saved before I call parent.children << child ? If I must save Parent first...
2005 Mar 15
1
Traffic Shaping multiple incoming broadband sources?
...t I am not having much luck. If i just do it as a normal interface and do the max bandwidth as 2012 max bandwidth it works but the queues are sort of screwed up since different types of traffic are mostly coming in from 1 interface not another etc etc. Here is what i attempted to do..... Each parent queue i tried to apply to the handle the mark of the interface eth2 is a mark of 0x03 and eth3 is a mark of 0x04 (i use the same marks for routing some port related traffic out different interfaces). I have probably made some basic mistake I should be smacked around the head and shoulders repeate...
2016 Dec 06
2
2.2.27 panic file mail-index-map.c: line 549 (mail_index_map_lookup_seq_range): assertion failed: (first_uid > 0)
...hand got sore at first 100 and they are below. I will mail you the binary and core in seperate mail. (gdb) f 14 #14 0x08058219 in cmd_search (cmd=0x85e1800) at cmd-search.c:42 42 ret = imap_search_args_build(cmd, args, charset, &sargs); (gdb) p args[0] $1 = {type = IMAP_ARG_ATOM, parent = 0x0, str_len = 3, _data = {str = 0x85e40f8 "ALL", literal_size = 140394744, list = {arr = {buffer = 0x85e40f8, element_size = 0}, v = 0x85e40f8, v_modifiable = 0x85e40f8}}, literal8 = 0} (gdb) p args[1] $2 = {type = IMAP_ARG_ATOM, parent = 0x0, str_len = 3, _data = {str = 0x85e410...
2006 Jan 18
3
I need superman!
...s can do it. Maybe there is a superman here who can get this too work. I''m going to post my sql dump to produce a very simple database. If anyone can get rails to work with this THEY WILL BE MY HERO!!. This is the statment I would normally use to create the join. "select * from parent,child where parent.number = ''2005121212121200'' and CONCAT(SUBSTRING(child.item_number,1,14),''00'') = parent.number" As you can see child.item_number is links to the parent with CONCAT(SUBSTRING(child.item_number,1,14),''00'') = parent.numbe...
2006 Apr 12
2
ActiveRecord Parent-Child relationship bug? config problem?
If i have a parent that has_many :children, and the child belongs_to :parent. Then when I add a new child to the parent like so: parent.children << Child.new, then shouldn''t the child also have a reference to the parent? but it doesn''t-- child.parent is nil-- what''s going on he...
2006 Feb 23
3
has_many: inserting children when inserting parent
disclaimer: am in the midst of my first ruby/rails project I have a situation where I want several child records to be created when a new parent record is created. The following represents my first stab at coding it, am I on the right track? Here is the model: parents ---------- id name children ---------- id parent_id name class Parent < ActiveRecord::Base has_many: children end class Child < ActiveRecord::Base belongs_to:...
2004 Nov 01
1
Big problem :(((((
...or internet; 1 for metropolitan 2 for provider''s network. Afther the mark i send the packets to the followind classes: script for eth0 (eth0 is my local network) #!/bin/bash tc qdisc del dev eth0 root >/dev/null tc qdisc add dev eth0 root handle 1: htb default 3 tc class add dev eth0 parent 1: classid 1:1 htb rate 64kbit ceil 256kbit burst 15k quantum 1500 # Internet tc class add dev eth0 parent 1: classid 1:2 htb rate 10Mbit burst 15k quantum 1500 # Metropolitan tc class add dev eth0 parent 1: classid 1:3 htb rate 80Mbit bur...
2004 Aug 04
10
htb and fw problems
...e counter works in iptables, but in the htb, it doesn''t go to the right class (it always go to the default class). Any help will be appreciated here''s my htb conf #!/bin/bash tc qdisc del dev eth1 root tc qdisc add dev eth1 root handle 1: htb default 80 tc class add dev eth1 parent 1: classid 1:1 htb rate 65kbps ceil 65kbps tc class add dev eth1 parent 1:1 classid 1:10 htb rate 20kbps ceil 35kbps prio 3 tc class add dev eth1 parent 1:1 classid 1:20 htb rate 5kbps ceil 10kbps prio 0 tc class add dev eth1 parent 1:1 classid 1:30 htb rate 8kbps ceil 11kbps prio 2 tc class add de...
2005 Apr 20
1
deleting tc rules
...ly while still keeping the shaping for part ''10.0.0.28/30'' running. When I for example delete rules beginning with the last added rules - I get an error when deleting the rule for ''class'': [root@malinko shape_www-0.20]# tc filter del dev eth0 protocol ip prio 5 parent 2:22 u32 ht 104:3: match ip dst 10.0.0.3 flowid 2:1012 [root@malinko shape_www-0.20]# tc qdisc del dev eth0 parent 2:1012 handle 1012: sfq perturb 4 [root@malinko shape_www-0.20]# tc class del dev eth0 parent 2:22 classid 2:1012 htb rate 128kbit ceil 128kbit burst 0 cburst 0 RTNETLINK answers: Devi...
2003 Mar 12
3
Warnings with and without r2q
...ge HTB: quantum of class 10010 is big. Consider r2q change Here''s the script I´m using (with the burst parameter): #!/bin/sh #====================== # uploading #====================== tc qdisc del dev eth0 root tc qdisc add dev eth0 root handle 1: htb default 10 tc class add dev eth0 parent 1: classid 1:1 htb rate 100mbit burst 2k tc class add dev eth0 parent 1:1 classid 1:10 htb rate 80mbit ceil 100mbit burst 2k tc class add dev eth0 parent 1:1 classid 1:11 htb rate 128kbit burst 2k tc class add dev eth0 parent 1:11 classid 1:21 htb rate 16kbit ceil 56kbit burst 2k tc class add dev...
2003 Oct 31
2
tc filter oddities
..., empty ack packets, etc). eth1 is the uplink I''ve been using HTB and fw marking for the job until recently, when I changed the queue structure around a bit, and moved to tc filters (no marking). None of my filters are working, in fact none are being applied, or respecting the ''parent'' attribute that I give them. All of my filters end up with parent 1: All qdiscs are empty save for the root qdisc, and all packets from that one seem to be direct_packet_stat''d from it... when I added default values to the htb qdiscs, this just caused all packets to filter down...
2007 Mar 20
3
Divide bandwidth between 4 groups of ip with the same rate
...I put a Linux with two Ethernet card between the router and the LAN. Eth1 is the card connected to the router and eth0 is the one connected to the LAN. My ISP provides 3 mbit upload and 300 kbit download. I define 4 classes for download with a rate of 300kbit and a ceil of 2700 kbit (1:10 to 1:40, parent 1:12). In the same way, I define 4 classes for upload with a rate of 72kbit and a ceil of 200kbit (2:10 to 2:40, parent 2.12). Everything looks work fine, nevertheless when traffic through one of these classes are near to its ceil (200kbit), the http traffic through the rest of the classes becomes...